3 Commits
1.3 ... 1.4

Author SHA1 Message Date
453a453f4f version bump 2023-09-16 22:07:39 +02:00
31b5e29c69 echo ssh command 2023-09-16 22:03:41 +02:00
8b10b4b709 stable build uses s3h.sh version no 2023-09-16 22:01:07 +02:00
2 changed files with 8 additions and 2 deletions

View File

@ -2,10 +2,15 @@
NAME=s3h NAME=s3h
VERSION=1.2 VERSION=`../../s3h.sh -v`
REVISION=1 REVISION=1
ARCH=all ARCH=all
if ! git tag -l |fgrep $VERSION; then
git tag $VERSION
git push origin $VERSION
fi
curdir=`dirname $0` curdir=`dirname $0`
workdir="$curdir/${NAME}_${VERSION}-${REVISION}_${ARCH}" workdir="$curdir/${NAME}_${VERSION}-${REVISION}_${ARCH}"
mkdir -p "$workdir" mkdir -p "$workdir"

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.3" VERSION="1.4"
# TODO: use opt parsing # TODO: use opt parsing
if [[ $# -eq 1 && "$1" == "-v" ]]; then if [[ $# -eq 1 && "$1" == "-v" ]]; then
@ -96,5 +96,6 @@ 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