From 70979a43a64173f9da4f29242d417344e605e18d Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Wed, 6 Sep 2017 17:50:45 +0200 Subject: [PATCH] On some systems /sbin isn't in PATH, so explicitly refer to /sbin/ldconfig --- tarball/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tarball/build.sh b/tarball/build.sh index e98c129..03588c4 100755 --- a/tarball/build.sh +++ b/tarball/build.sh @@ -70,7 +70,7 @@ main() printf '#!/bin/sh\n' printf 'export LOVE_LAUNCHER_LOCATION="$(dirname "$(which "$0")")"\n' printf 'export LD_LIBRARY_PATH="%s:$LD_LIBRARY_PATH"\n' "$libpath" - printf 'ldconfig -p | grep -q libstdc++ || export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${LOVE_LAUNCHER_LOCATION}/libstdc++/"\n' + printf '/sbin/ldconfig -p | grep -q libstdc++ || export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${LOVE_LAUNCHER_LOCATION}/libstdc++/"\n' printf 'exec ${LOVE_BIN_WRAPPER} "${LOVE_LAUNCHER_LOCATION}%s" "$@"\n' "$appbin" ) > "$DEST/$appname" chmod +x "$DEST/$appname"