Skip to content

Commit 049c71e

Browse files
committed
fix more arch related script
1 parent dfde2ec commit 049c71e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ if [ ! -f ./appimagetool.AppImage ]; then
2929
chmod +x ./appimagetool.AppImage
3030
fi
3131

32-
ARCH=x86_64 ./appimagetool.AppImage --no-appstream ./dist/AppDir ./dist/Emacs.AppImage
32+
ARCH=$(uname -m) ./appimagetool.AppImage --no-appstream ./dist/AppDir ./dist/Emacs.AppImage

scripts/AppRun

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ VERSION=$(readlink "$APPIMAGE_ROOT/bin/emacs" | sed -e 's/emacs-//')
77
export EMACSLOADPATH="$APPIMAGE_ROOT/share/emacs/$VERSION/lisp"
88
export EMACSDATA="$APPIMAGE_ROOT/share/emacs/$VERSION/etc"
99
export EMACSDOC="$APPIMAGE_ROOT/share/emacs/$VERSION/etc"
10-
export EMACSPATH="$APPIMAGE_ROOT/libexec/emacs/$VERSION/$(uname -m)-pc-linux-gnu"
10+
export EMACSPATH="$APPIMAGE_ROOT/libexec/emacs/$VERSION/*"
1111
export PATH="$APPIMAGE_ROOT/bin:$PATH"
1212

1313
# check --emacs-appimage-run-as argument

0 commit comments

Comments
 (0)