diff --git a/code/worker.sh b/code/worker.sh index 0e69c473..c012dd49 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -37,7 +37,7 @@ if [ -z $MAGIC ] ; then echo "Magic number not detected. Dear upstream, please consider to add one to the AppImage as per" echo "https://github.com/AppImage/AppImageSpec/blob/master/draft.md" ELFMAGIC=$(dd if="$FILENAME" bs=1 skip=0 count=4 2>/dev/null) - if [ $ELFMAGIC == $(echo -ne "\x7f\x45\x4c\x46")] ; then + if [ $ELFMAGIC == $(echo -ne "\x7f\x45\x4c\x46") ] ; then echo "ELF file detected" ISOMAGIC=$(dd if="$FILENAME" bs=1 skip=32769 count=5 2>/dev/null) if [ $ISOMAGIC == $(echo -ne "CD001") ] ; then