package/gobject-introspection/g-ir-scanner.in: Fix shellcheck warnings, switch to sh
authorAdam Duskett <aduskett@gmail.com>
Fri, 3 Sep 2021 16:20:23 +0000 (09:20 -0700)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 11 Sep 2021 18:59:05 +0000 (20:59 +0200)
Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/gobject-introspection/g-ir-scanner.in

index 22df7be3099f6a72d0d52395ca19f914bc26a50a..013eb15700379c78794dc23d4c64b8fe93dd1d69 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
 
 # These environment variables are empty by default, and as such ccompiler.py
 # defaults to either using the system tools (CC, CXX, and CPP) or leaving
@@ -15,8 +15,8 @@ export LDFLAGS="${LDFLAGS:-@TARGET_LDFLAGS@}"
 
 export GI_SCANNER_DISABLE_CACHE=1
 
-${HOST_DIR}/bin/g-ir-scanner \
---lib-dirs-envvar=GIR_EXTRA_LIBS_PATH \
---use-binary-wrapper=$(dirname $0)/g-ir-scanner-qemuwrapper \
---use-ldd-wrapper=$(dirname $0)/g-ir-scanner-lddwrapper \
---add-include-path=$(dirname $0)/../share/gir-1.0 "$@"
+"${HOST_DIR}"/bin/g-ir-scanner \
+    --lib-dirs-envvar=GIR_EXTRA_LIBS_PATH \
+    --use-binary-wrapper="$(dirname "$0")"/g-ir-scanner-qemuwrapper \
+    --use-ldd-wrapper="$(dirname "$0")"/g-ir-scanner-lddwrapper \
+    --add-include-path="$(dirname "$0")"/../share/gir-1.0 "$@"