1
0
mirror of https://github.com/QSCTech/zjunet.git synced 2026-01-22 11:44:48 +08:00

make the script compatible with BusyBox ash

This commit is contained in:
heddxh 2023-02-24 09:34:52 +00:00
parent e9adc182db
commit 7c0e95cdba
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
set -e set -e
@ -20,6 +20,6 @@ EOF
chmod +x $DESTDIR$PREFIX/bin/zjunet chmod +x $DESTDIR$PREFIX/bin/zjunet
echo "[INFO] Done." echo "[INFO] Done."
echo echo
if [[ -z $DESTDIR ]]; then if [ -z $DESTDIR ]; then
zjunet usage $DESTDIR$PREFIX/bin/zjunet usage
fi fi

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
PREFIX=/usr/local PREFIX=/usr/local