Turns out Linux has a shred command in /usr/bin and its purpose is to over-write files so we don't want to invoke it accidentally. So as not to cause confusion and issues we will rename ours to "shredder". Aussies are of course allowed to alias this to "shredda".

This commit is contained in:
friendica 2014-06-18 17:04:19 -07:00
parent c16b403cf7
commit dd042f4f09
4 changed files with 2 additions and 1 deletions

View file

@ -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