projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
10d2ab3
)
try to sense the architecture better
author
Art Cancro
<ajc@citadel.org>
Fri, 16 Apr 2021 21:27:27 +0000
(17:27 -0400)
committer
Art Cancro
<ajc@citadel.org>
Fri, 16 Apr 2021 21:27:27 +0000
(17:27 -0400)
appimage/build_appimage.sh
patch
|
blob
|
history
diff --git
a/appimage/build_appimage.sh
b/appimage/build_appimage.sh
index eec8335b0e553a691c14e0c71da987b72ae1e240..a611775bed1fbb51bcb3433b1fecef77a2a87db9 100755
(executable)
--- a/
appimage/build_appimage.sh
+++ b/
appimage/build_appimage.sh
@@
-65,12
+65,13
@@
rm -fr $CITADEL_BUILD_DIR $WEBCIT_BUILD_DIR
cc ctdlvisor.c -o citadel.AppDir/usr/bin/ctdlvisor || exit 21
cc ctdlvisor.c -o citadel.AppDir/usr/bin/ctdlvisor || exit 21
-
cpu=`uname -p
`
+
CPU=`uname -m
`
basefilename=citadel-`date +%s`
basefilename=citadel-`date +%s`
-if [ $
cpu
== x86_64 ] ; then
- ARCH=x86_64 appimagetool citadel.AppDir/ ${basefilename}-x64.appimage
+if [ $
CPU
== x86_64 ] ; then
+ export ARCH=x86_64
else
else
- ARCH=ARM appimagetool citadel.AppDir/ ${basefilename}-arm32.appimage
+ export ARCH=ARM
fi
fi
-
-
+echo ARCH: $ARCH
+echo CPU: $CPU
+appimagetool citadel.AppDir/ ${basefilename}-${CPU}.appimage