In /usr/bin/vala-gen-introspect-0.48 line 4: exec_prefix=${prefix} ^---------^ SC2034: exec_prefix appears unused. Verify use (or export if used externally). In /usr/bin/vala-gen-introspect-0.48 line 10: echo "Usage: `basename $0` PKGNAME BASEPATH" ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "Usage: $(basename "$0") PKGNAME BASEPATH" In /usr/bin/vala-gen-introspect-0.48 line 16: PKGPREFIX=`pkg-config --variable=prefix $PKGNAME` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: PKGPREFIX=$(pkg-config --variable=prefix "$PKGNAME") In /usr/bin/vala-gen-introspect-0.48 line 18: PKGFILES=`cat $PKGBASE.files | grep ^[/.]` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^------^ SC2086: Double quote to prevent globbing and word splitting. ^------------^ SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead. ^---^ SC2062: Quote the grep pattern so the shell won't interpret it. Did you mean: PKGFILES=$(cat "$PKGBASE".files | grep ^[/.]) In /usr/bin/vala-gen-introspect-0.48 line 26: `cat $PKGBASE.files | grep ^[a-zA-Z.] | sed -e "s@^@$PKGPREFIXPLUSDELIMIT@"`" ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^------^ SC2086: Double quote to prevent globbing and word splitting. ^------------^ SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead. ^--------^ SC2062: Quote the grep pattern so the shell won't interpret it. Did you mean: $(cat "$PKGBASE".files | grep ^[a-zA-Z.] | sed -e "s@^@$PKGPREFIXPLUSDELIMIT@")" In /usr/bin/vala-gen-introspect-0.48 line 28: if [ -e $PKGBASE.excludes ] ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ -e "$PKGBASE".excludes ] In /usr/bin/vala-gen-introspect-0.48 line 30: FILES=`find $PKGFILES -name "*.h" -or -name "*.so" | grep -v -f $PKGBASE.excludes` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: FILES=$(find "$PKGFILES" -name "*.h" -or -name "*.so" | grep -v -f "$PKGBASE".excludes) In /usr/bin/vala-gen-introspect-0.48 line 32: FILES=`find $PKGFILES -name "*.h" -or -name "*.so"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: FILES=$(find "$PKGFILES" -name "*.h" -or -name "*.so") In /usr/bin/vala-gen-introspect-0.48 line 35: if [ -e $PKGBASE.defines ] ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ -e "$PKGBASE".defines ] In /usr/bin/vala-gen-introspect-0.48 line 37: PKGDEFINES=$(cat $PKGBASE.defines) ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: PKGDEFINES=$(cat "$PKGBASE".defines) In /usr/bin/vala-gen-introspect-0.48 line 40: $pkglibdir/gen-introspect-0.48 --namespace=`cat $PKGBASE.namespace` $PKGDEFINES `pkg-config --cflags $PKGNAME | sed 's/-pthread//g'` $FILES > $PKGBASE.gi ^----------------------^ SC2046: Quote this to prevent word splitting. ^----------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^------^ SC2086: Double quote to prevent globbing and word splitting. ^---------^ SC2086: Double quote to prevent globbing and word splitting. ^-- SC2046: Quote this to prevent word splitting. ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^------^ SC2086: Double quote to prevent globbing and word splitting. ^----^ SC2086: Double quote to prevent globbing and word splitting. ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: $pkglibdir/gen-introspect-0.48 --namespace=$(cat "$PKGBASE".namespace) "$PKGDEFINES" $(pkg-config --cflags "$PKGNAME" | sed 's/-pthread//g') "$FILES" > "$PKGBASE".gi For more information: https://www.shellcheck.net/wiki/SC2034 -- exec_prefix appears unused. Verif... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2062 -- Quote the grep pattern so the she...