diff options
-rwxr-xr-x | util/shredder/JSON.sh (renamed from util/shred/JSON.sh) | 0 | ||||
-rwxr-xr-x | util/shredder/OAuth.sh (renamed from util/shred/OAuth.sh) | 0 | ||||
-rwxr-xr-x | util/shredder/ShredOAuth.sh (renamed from util/shred/ShredOAuth.sh) | 0 | ||||
-rwxr-xr-x | util/shredder/shredder (renamed from util/shred/shred) | 3 |
4 files changed, 2 insertions, 1 deletions
diff --git a/util/shred/JSON.sh b/util/shredder/JSON.sh index 65f5f1f66..65f5f1f66 100755 --- a/util/shred/JSON.sh +++ b/util/shredder/JSON.sh diff --git a/util/shred/OAuth.sh b/util/shredder/OAuth.sh index 4be4ed35b..4be4ed35b 100755 --- a/util/shred/OAuth.sh +++ b/util/shredder/OAuth.sh diff --git a/util/shred/ShredOAuth.sh b/util/shredder/ShredOAuth.sh index 76858d73c..76858d73c 100755 --- a/util/shred/ShredOAuth.sh +++ b/util/shredder/ShredOAuth.sh diff --git a/util/shred/shred b/util/shredder/shredder index 2fd913d65..b8d298175 100755 --- a/util/shred/shred +++ b/util/shredder/shredder @@ -113,10 +113,11 @@ load_config () { [[ -f "$FCLI_RC" ]] && . "$FCLI_RC" || show_config_help 1 THISDIR=$(dirname $0) - if [ $THISDIR != '' ]; then THISDIR=. ; fi + if [ $THISDIR == '' ]; then THISDIR=. ; fi PATH=$THISDIR:$PATH + # Source ShredOAuth.sh OAuth_sh=$(which ShredOAuth.sh) (( $? != 0 )) && echo 'Unable to locate ShredOAuth.sh! Make sure it is in searching PATH.' && exit 1 |