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
|
# Cleanup
|
||||||
rm -rf PyBitmessage
|
rm -rf PyBitmessage
|
||||||
|
@ -18,10 +18,18 @@ fi
|
||||||
|
|
||||||
./pkg2appimage packages/AppImage/PyBitmessage.yml
|
./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 "Build Successful";
|
||||||
echo "Run out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage";
|
echo "Run out/PyBitmessage-${VERSION_EXPANDED}.AppImage";
|
||||||
out/PyBitmessage-${VERSION}.glibc2.15-x86_64.AppImage -t
|
out/PyBitmessage-${VERSION_EXPANDED}.AppImage -t
|
||||||
else
|
else
|
||||||
echo "Build Failed";
|
echo "Build Failed";
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Reference in New Issue
Block a user