This commit is contained in:
6543 2018-05-10 14:19:14 +02:00
parent 07e4e0d663
commit 49901e1f32

12
script/set_version.sh Executable file
View 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
}