Didn't work on some distros
parent
64448f1374
commit
a3079e239d
|
@ -24,7 +24,7 @@ setup_keepResolution
|
||||||
ret=0
|
ret=0
|
||||||
cd "$APPDIR/usr/"
|
cd "$APPDIR/usr/"
|
||||||
{
|
{
|
||||||
if [[ "$(file "$BINARY")" =~ ELF.*executable.*\ interpreter\ ([^,]+) ]]; then
|
if [[ "$(file "$BINARY")" =~ ELF.*\ interpreter\ ([^,]+) ]]; then
|
||||||
linker="$APPDIR/usr/lib/$(basename "${BASH_REMATCH[1]}")"
|
linker="$APPDIR/usr/lib/$(basename "${BASH_REMATCH[1]}")"
|
||||||
if [ -f "$linker" ]; then
|
if [ -f "$linker" ]; then
|
||||||
export RUNELF_HELPERS="$linker"
|
export RUNELF_HELPERS="$linker"
|
||||||
|
|
Loading…
Reference in New Issue