[gimp-macos-build/wip/lukaso/tests: 6/9] Fix shell




commit 49a5d3a4aa486dd5b40ff74c3af34a9e1b4f139a
Author: Lukas Oberhuber <lukaso gmail com>
Date:   Sat Oct 9 01:01:13 2021 +0100

    Fix shell

 package/build299.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/package/build299.sh b/package/build299.sh
index d0dc59e..065a457 100755
--- a/package/build299.sh
+++ b/package/build299.sh
@@ -77,10 +77,10 @@ PLUGINS=$(
    | xargs file \
    | grep ' Mach-O '|awk -F ':' '{print $1}'
 )
-while IFS= read -r line
+printf "%s\n" "$PLUGINS" | while IFS= read -r line
 do
   install_name_tool -add_rpath @executable_path/../../../../ $line
-done < <(printf '%s\n' "$PLUGINS")
+done
 
 if [[ "$1" == "debug" ]]; then
   echo "Generating debug symbols"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]