am c73b46f4
: Do not call exit 1 when loaded with source command
* commit 'c73b46f40a3e47ed9989cf1c9681901572b508be': Do not call exit 1 when loaded with source command
This commit is contained in:
commit
747e2ee2cc
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ echo "Usage:" 1>&2
|
||||||
echo " source $0" 1>&2
|
echo " source $0" 1>&2
|
||||||
echo " or" 1>&2
|
echo " or" 1>&2
|
||||||
echo " . $0" 1>&2
|
echo " . $0" 1>&2
|
||||||
exit 1
|
if [[ ${BASH_SOURCE[0]} != $0 ]]; then return; else exit 1; fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd $PWD > /dev/null
|
pushd $PWD > /dev/null
|
||||||
|
|
|
@ -18,7 +18,7 @@ echo "Usage:" 1>&2
|
||||||
echo " source $0" 1>&2
|
echo " source $0" 1>&2
|
||||||
echo " or" 1>&2
|
echo " or" 1>&2
|
||||||
echo " . $0" 1>&2
|
echo " . $0" 1>&2
|
||||||
exit 1
|
if [[ ${BASH_SOURCE[0]} != $0 ]]; then return; else exit 1; fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
find out -name "dicttool_aosp*" -exec rm -rf {} \; > /dev/null 2>&1
|
find out -name "dicttool_aosp*" -exec rm -rf {} \; > /dev/null 2>&1
|
||||||
|
|
Loading…
Reference in a new issue