Browse Source

scripts

pull/19/head
6543 4 years ago
parent
commit
49901e1f32
  1. 12
      script/set_version.sh

12
script/set_version.sh

@ -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…
Cancel
Save