FIX: fix test code
This commit is contained in:
parent
674188d1d8
commit
20b7f9416d
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -z $1 ] || [ -z $2 ] || [ -z $3 ] ; then
|
if [ -z $1 ] || [ -z $2 ] || [ -z $3 ] ; then
|
||||||
echo "Please fill in app's name, file."
|
echo "Please fill in app's name, bin path, file."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -11,4 +11,4 @@ mv sdt-cloud-app.service $1.service
|
||||||
sed -i "s/sdt-cloud-app/$1/g" ./install.sh
|
sed -i "s/sdt-cloud-app/$1/g" ./install.sh
|
||||||
sed -i "s/sdt-cloud-app/$1/g" ./$1.service
|
sed -i "s/sdt-cloud-app/$1/g" ./$1.service
|
||||||
sed -i "s%exePath%$2%g" ./$1.service
|
sed -i "s%exePath%$2%g" ./$1.service
|
||||||
sed -i "s/exeFile/$2/g" ./$1.service
|
sed -i "s/exeFile/$3/g" ./$1.service
|
Loading…
Reference in New Issue