diff --git a/linuxdeploy-plugin-gstreamer.sh b/linuxdeploy-plugin-gstreamer.sh index 64ef699..887a3eb 100755 --- a/linuxdeploy-plugin-gstreamer.sh +++ b/linuxdeploy-plugin-gstreamer.sh @@ -107,7 +107,7 @@ done for i in "$plugins_target_dir"/*; do [ -d "$i" ] && continue [ ! -f "$i" ] && echo "File does not exist: $i" && continue - "$(file "$i" | grep -v ELF --silent)" && echo "Ignoring non ELF file: $i" && continue + $(file "$i" | grep -v ELF --silent) && echo "Ignoring non ELF file: $i" && continue echo "Manually setting rpath for $i" patchelf --set-rpath '$ORIGIN/..:$ORIGIN' "$i" @@ -127,7 +127,7 @@ done for i in "$helpers_target_dir"/*; do [ -d "$i" ] && continue [ ! -f "$i" ] && echo "File does not exist: $i" && continue - "$(file "$i" | grep -v ELF --silent)" && echo "Ignoring non ELF file: $i" && continue + $(file "$i" | grep -v ELF --silent) && echo "Ignoring non ELF file: $i" && continue echo "Manually setting rpath for $i" patchelf --set-rpath '$ORIGIN/../..' "$i"