diff --git a/util/shred/JSON.sh b/util/shredder/JSON.sh similarity index 100% rename from util/shred/JSON.sh rename to util/shredder/JSON.sh diff --git a/util/shred/OAuth.sh b/util/shredder/OAuth.sh similarity index 100% rename from util/shred/OAuth.sh rename to util/shredder/OAuth.sh diff --git a/util/shred/ShredOAuth.sh b/util/shredder/ShredOAuth.sh similarity index 100% rename from util/shred/ShredOAuth.sh rename to util/shredder/ShredOAuth.sh diff --git a/util/shred/shred b/util/shredder/shredder similarity index 99% rename from util/shred/shred rename to 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