We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa04e21 commit 768cbc4Copy full SHA for 768cbc4
tusc.sh
@@ -8,7 +8,7 @@
8
# Be sure to check readme doc at https://github.com/adhocore/tusc.sh
9
#
10
11
-if [[ -f ~/.tus.dbg ]]; then set -ex; else set -e; fi
+if [[ -f $HOME/.tus.dbg ]]; then set -ex; else set -e; fi
12
13
FULL=$(readlink -f $0) TUSC=$(basename $0) SPINID=0 CURLARGS=
14
@@ -80,7 +80,7 @@ USAGE
80
# get/set tus config
81
tus-config() # $1 = key, $2 = value
82
{
83
- TUSFILE=`realpath ~/.tus.json`
+ TUSFILE="$HOME/.tus.json"
84
[[ -f $TUSFILE ]] || echo '{}' > $TUSFILE
85
TUSJSON=`cat $TUSFILE`
86
0 commit comments