install: Fix for sh instead of bash.
This commit is contained in:
parent
40ab734bb3
commit
f46b00c896
@ -1,8 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
SOURCE=$(dirname $0)
|
||||
[[ -e "$SOURCE/dbash" ]] || { echo "Please cd to the directory containing this file and try to run _install.sh again." ; exit 1; }
|
||||
TARGET=/usr/local/bin
|
||||
TARGET="/usr/local/bin"
|
||||
|
||||
if [ ! -e "$SOURCE/dbash" ]; then
|
||||
echo "Please cd to the directory containing this file and try to run _install.sh again."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ln -sf "$SOURCE/dbash" "$TARGET/dbash"
|
||||
ln -sf "$SOURCE/dhelp" "$TARGET/dhelp"
|
||||
|
Loading…
Reference in New Issue
Block a user