Compare commits

..

No commits in common. "453a453f4f765ccae48cb1be0402de81ee7afcc0" and "8b10b4b7091a58064088afec8ce07c4abd4c73dc" have entirely different histories.

3
s3h.sh
View File

@ -3,7 +3,7 @@
# config # config
DIALOG=dialog #gdialog kdialog DIALOG=dialog #gdialog kdialog
START_DIR='~/.s3h' START_DIR='~/.s3h'
VERSION="1.4" VERSION="1.3"
# TODO: use opt parsing # TODO: use opt parsing
if [[ $# -eq 1 && "$1" == "-v" ]]; then if [[ $# -eq 1 && "$1" == "-v" ]]; then
@ -96,6 +96,5 @@ if [[ -f "$configFile" ]]; then
echo "config file '$configFile' selected. connecting..." echo "config file '$configFile' selected. connecting..."
# execute ssh # execute ssh
echo "Running 'ssh ${para[@]} `basename \"$configFile\"`'"
ssh ${para[@]} `basename "$configFile"` ssh ${para[@]} `basename "$configFile"`
fi fi