test.sh: allow passing custom arguments

gf-arm64
FriendlyNeighborhoodShane 3 years ago
parent e0c34af94f
commit 58e96f329f

@ -39,4 +39,4 @@ done;
# Can't add directives because it's all dynamic
echo " ";
shellcheck -s sh -e 1087,1090,2034,2154 -- "$workdir/src/META-INF/com/google/android/update-binary" "$workdir/build.sh" "$workdir/test.sh" "$workdir/update.sh" "$workdir"/conf/*.txt;
shellcheck -s sh -e 1087,1090,2034,2154 "$@" -- "$workdir/src/META-INF/com/google/android/update-binary" "$workdir/build.sh" "$workdir/test.sh" "$workdir/update.sh" "$workdir"/conf/*.txt;

Loading…
Cancel
Save