]> sigrok.org Git - sigrok-util.git/commitdiff
appimage: pass $ARCH to appimagetool
authorGerhard Sittig <redacted>
Sun, 13 Jan 2019 10:43:27 +0000 (11:43 +0100)
committerUwe Hermann <redacted>
Sun, 13 Jan 2019 20:04:11 +0000 (21:04 +0100)
More recent appimagetool(1) implementations require an ARCH spec, since
auto-detection finds several architectures in the application directory.
This addresses part of bug #1349 (newer AppImageKit versions are
required to unbreak the magic bytes in the ELF header).

cross-compile/appimage/sigrok-native-appimage

index 290ff3c7f69b0f16b3ed0e507f5be73beea026a6..a3ab9b5b48b1a37a3dfbc5725519be7dfbfdc489 100755 (executable)
@@ -28,6 +28,7 @@ else
 fi
 LOWERAPP=${APP,,} 
 
 fi
 LOWERAPP=${APP,,} 
 
+export ARCH
 export STATIC_FILES=`pwd`/contrib
 
 # Add $APPIMAGEKIT_OUTDIR so we can find all the binaries there.
 export STATIC_FILES=`pwd`/contrib
 
 # Add $APPIMAGEKIT_OUTDIR so we can find all the binaries there.