Skip to content

Commit

Permalink
Merge pull request #3269 from citrus-it/aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
oetiker committed Jul 1, 2023
2 parents 537b428 + ca2d4d8 commit 8fdef91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
# for different ARCHs. If we see `-a` in the options string, we look for such
# a helper and invoke that instead.

if getopts ":a:" opt; then
while getopts ":a:" opt; do
if [ "$opt" = a -a -x build-arch-$OPTARG.sh ]; then
./build-arch-$OPTARG.sh "$@"
exit 0
fi
fi
done
OPTIND=1

5 changes: 4 additions & 1 deletion tools/test
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ add_target()
typeset build=$2
typeset dir="`dirname $build`"

if [[ $build = *.sh ]]; then
if [[ $build = */build-arch*.sh ]]; then
# Ignore arch-specific scripts
:
elif [[ $build = *.sh ]]; then
set -- `grep '^inherit_ver' $build`
if [ $# -gt 1 ]; then
shift
Expand Down

0 comments on commit 8fdef91

Please sign in to comment.