atdalīts no coolaj86/telebit.js
fix bash bin by passing all args
Šī revīzija ir iekļauta:
vecāks
a921f32867
revīzija
c8263881e0
@ -190,11 +190,9 @@ popd >/dev/null
|
|||||||
|
|
||||||
echo " - configuring telebit..."
|
echo " - configuring telebit..."
|
||||||
|
|
||||||
cat << EOF > $TELEBIT_PATH/bin/$my_app
|
echo '#!/bin/bash' > "$TELEBIT_PATH/bin/$my_app"
|
||||||
#!/bin/bash
|
echo "$my_node $TELEBIT_PATH/bin/$my_bin "'"$@"' >> "$TELEBIT_PATH/bin/$my_app"
|
||||||
$my_node $TELEBIT_PATH/bin/$my_bin
|
chmod a+x "$TELEBIT_PATH/bin/$my_app"
|
||||||
EOF
|
|
||||||
chmod a+x $TELEBIT_PATH/bin/$my_app
|
|
||||||
|
|
||||||
# Create uninstall script based on the install script variables
|
# Create uninstall script based on the install script variables
|
||||||
cat << EOF > $TELEBIT_PATH/bin/${my_app}_uninstall
|
cat << EOF > $TELEBIT_PATH/bin/${my_app}_uninstall
|
||||||
|
|||||||
Notiek ielāde…
x
Atsaukties uz šo jaunā problēmā
Block a user