summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-01-03 04:33:33 +0100
committerRobin Gareus <robin@gareus.org>2020-01-03 04:33:33 +0100
commit4c055f34698d97480c1aa298b357292a2516820e (patch)
tree8109fd3e0de677a70aa12f26eda7cae1b7000b05 /tools
parent241a16717e5aa9754d123fff48a8f4530e45b0ea (diff)
Fix linux installer script
Diffstat (limited to 'tools')
-rwxr-xr-xtools/linux_packaging/stage2.run.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in
index 29955ffe4e..470ecccc07 100755
--- a/tools/linux_packaging/stage2.run.in
+++ b/tools/linux_packaging/stage2.run.in
@@ -225,7 +225,7 @@ case `uname -m` in
echo "Architecture is armhf"
ARCH='armhf'
NOABICHECK=1
- ;;;
+ ;;
aarch64|armv8b)
echo "Architecture is arm64"
ARCH='arm64'
@@ -489,7 +489,7 @@ LIB_ERROR="F"
LD_PATH=`pwd`/${BUNDLE_DIR}/lib
# check the main App
-LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd ${BUNDLE_DIR}/bin/${PGM_NAME_LOWER}-* 2>&1 > /dev/null | grep -v "no version information")
+LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd ${BUNDLE_DIR}/*/${PGM_NAME_LOWER}-* 2>&1 > /dev/null | grep -v "no version information")
if [ -n "$LDD_RESULT" ];
then
@@ -498,7 +498,7 @@ then
fi
# check the libs
-LIB_FILES=$(find ${BUNDLE_DIR}/lib -name "*.so")
+LIB_FILES=$(find ${BUNDLE_DIR}/lib -name "*.so" -type f)
for path in $LIB_FILES
do