DEVTOOLS: Print usage information for encode-macbinary.sh

This commit is contained in:
Eugene Sandulenko 2020-10-02 21:04:02 +02:00
parent 319149343f
commit c375a93f68

View File

@ -104,6 +104,11 @@ for parm in "$@" ; do
fi
done # for parm in ...
if [[ $# -eq 0 ]] ; then
usage
exit 0
fi
if [[ $1 == "macbinary" ]] ; then
if ! `command -v macbinary >/dev/null 2>/dev/null` ; then
echo "macbinary not found. Exiting"