diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-18 09:38:10 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-18 09:38:10 +0200 |
commit | 14d27dd0998b18a2eb13d30c8680701a9b619a08 (patch) | |
tree | 84878b16b12e4ec4372d671bcd5a0bbb1d1b5f17 /make-tar.sh | |
parent | 55de6ead40cd7120cfd798715cbfc57eb05b417d (diff) |
cmake: fix dropbox share invocation
Diffstat (limited to 'make-tar.sh')
-rw-r--r-- | make-tar.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/make-tar.sh b/make-tar.sh index 82afd67e..9d1af1f3 100644 --- a/make-tar.sh +++ b/make-tar.sh @@ -14,10 +14,9 @@ then case "$USER,$(uname -s)" in # for the script see https://github.com/andreafabrizi/Dropbox-Uploader sthalik,CYGWIN_*) - set -x dropbox_uploader.sh -p upload "$filename" / - l="$(dropbox_uploader.sh -q share "/$filename")" - set +x + bn="$(basename -- "$filename")" + l="$(dropbox_uploader.sh -q share /"$bn")" test -n "$l" && echo -n "$l" | putclip echo $l echo -ne '\a' ;; |