From ef0ea249585c5c1407db25d94603b48b72db6e4f Mon Sep 17 00:00:00 2001 From: probonopd Date: Fri, 11 Aug 2017 22:58:42 +0200 Subject: [PATCH] Update worker.sh --- code/worker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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