Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c73b46f4 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Do not call exit 1 when loaded with source command

BUG: 13754552
Change-Id: I3d5e4c0786547521325405100c175dd1b21754df
parent 06b50ed5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ echo "Usage:" 1>&2
echo "    source $0" 1>&2
echo "  or" 1>&2
echo "    . $0" 1>&2
exit 1
if [[ ${BASH_SOURCE[0]} != $0 ]]; then return; else exit 1; fi
fi

pushd $PWD > /dev/null
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ echo "Usage:" 1>&2
echo "    source $0" 1>&2
echo "  or" 1>&2
echo "    . $0" 1>&2
exit 1
if [[ ${BASH_SOURCE[0]} != $0 ]]; then return; else exit 1; fi
fi

find out -name "dicttool_aosp*" -exec rm -rf {} \; > /dev/null 2>&1