summaryrefslogtreecommitdiffhomepage
path: root/make-tar.sh
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-24 09:38:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-24 09:38:05 +0200
commitaf0e780869fdb58e5bf130f2dab54cce2d081ea9 (patch)
tree9b50834b1735ade2d57558d39023ff0def02d5ed /make-tar.sh
parentf0a861a7c9a23bc761ffb3271586de7253c0b63e (diff)
remove make-tar, unused
Diffstat (limited to 'make-tar.sh')
-rw-r--r--make-tar.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/make-tar.sh b/make-tar.sh
deleted file mode 100644
index b84561e9..00000000
--- a/make-tar.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-prefix="$1"
-filename="$2"
-
-branch="$(git rev-parse --abbrev-ref HEAD)"
-
-if : &&
- cd $(dirname -- "${prefix}") &&
- zip -9r "${filename}" $(basename "${prefix}")
-then
- case "$branch" in
- unstable)
- case "$USER,$(uname -s)" in
- # for the script see https://github.com/andreafabrizi/Dropbox-Uploader
- sthalik,CYGWIN_*)
- dropbox_uploader.sh -p upload "$filename" /
- bn="$(basename -- "$filename")"
- l="$(dropbox_uploader.sh -q share /"$bn")"
- test -n "$l" && echo -n "$l" | putclip
- echo $l
- echo -ne '\a' ;;
- *) ls -lh -- "${filename}" ;;
- esac ;;
- *) ;;
- esac
-else
- rm -fv -- "${filename}"
- exit 1
-fi
-
-exit 0