scripts
This commit is contained in:
parent
07e4e0d663
commit
49901e1f32
12
script/set_version.sh
Executable file
12
script/set_version.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
[ -f "src/remaster.sh" ] && {
|
||||||
|
|
||||||
|
v=`echo $1 | sed 's/\./\\./g'`
|
||||||
|
|
||||||
|
#nummer
|
||||||
|
sed -i "s/@version\ .\..\../@version\ $v/g" src/remaster.sh
|
||||||
|
|
||||||
|
#datum
|
||||||
|
sed -i "s/@date\ ....-..-../@date\ `date +%Y-%m-%d`/g" src/remaster.sh
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user