Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
453a453f4f | |||
31b5e29c69 | |||
8b10b4b709 |
@ -2,10 +2,15 @@
|
||||
|
||||
|
||||
NAME=s3h
|
||||
VERSION=1.2
|
||||
VERSION=`../../s3h.sh -v`
|
||||
REVISION=1
|
||||
ARCH=all
|
||||
|
||||
if ! git tag -l |fgrep $VERSION; then
|
||||
git tag $VERSION
|
||||
git push origin $VERSION
|
||||
fi
|
||||
|
||||
curdir=`dirname $0`
|
||||
workdir="$curdir/${NAME}_${VERSION}-${REVISION}_${ARCH}"
|
||||
mkdir -p "$workdir"
|
||||
|
3
s3h.sh
3
s3h.sh
@ -3,7 +3,7 @@
|
||||
# config
|
||||
DIALOG=dialog #gdialog kdialog
|
||||
START_DIR='~/.s3h'
|
||||
VERSION="1.3"
|
||||
VERSION="1.4"
|
||||
|
||||
# TODO: use opt parsing
|
||||
if [[ $# -eq 1 && "$1" == "-v" ]]; then
|
||||
@ -96,5 +96,6 @@ if [[ -f "$configFile" ]]; then
|
||||
echo "config file '$configFile' selected. connecting..."
|
||||
|
||||
# execute ssh
|
||||
echo "Running 'ssh ${para[@]} `basename \"$configFile\"`'"
|
||||
ssh ${para[@]} `basename "$configFile"`
|
||||
fi
|
||||
|
Reference in New Issue
Block a user