FIX: fix test code

This commit is contained in:
이수준 2023-10-23 16:55:54 +09:00
parent 674188d1d8
commit 20b7f9416d
1 changed files with 2 additions and 2 deletions

View File

@ -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