Redefine VERSION_EXPANDED from pkg2appimage functions.sh
This commit is contained in:
parent
eb43f2c068
commit
d41503ee8a
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# Cleanup
|
||||
rm -rf PyBitmessage
|
||||
|
@ -18,10 +18,18 @@ fi
|
|||
|
||||
./pkg2appimage packages/AppImage/PyBitmessage.yml
|
||||
|
||||
if [ -f "out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage" ]; then
|
||||
./pkg2appimage --appimage-extract
|
||||
|
||||
. ./squashfs-root/usr/share/pkg2appimage/functions.sh
|
||||
|
||||
GLIBC=$(glibc_needed)
|
||||
|
||||
VERSION_EXPANDED=${VERSION}.glibc${GLIBC}-${SYSTEM_ARCH}
|
||||
|
||||
if [ -f "out/PyBitmessage-${VERSION_EXPANDED}.AppImage" ]; then
|
||||
echo "Build Successful";
|
||||
echo "Run out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage";
|
||||
out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage -t
|
||||
echo "Run out/PyBitmessage-${VERSION_EXPANDED}.AppImage";
|
||||
out/PyBitmessage-${VERSION_EXPANDED}.AppImage -t
|
||||
else
|
||||
echo "Build Failed";
|
||||
exit 1
|
||||
|
|
Reference in New Issue
Block a user