Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages / gcc
Commits: d49e6b9c by Ben Kallus at 2024-12-16T22:34:45+00:00 Add missing quotes in c89 script. - - - - - 3f3f4208 by Ben Kallus at 2024-12-17T16:28:28+00:00 Fix quoting in c99 script - - - - - 2 changed files: - c89 - c99 Changes: ===================================== c89 ===================================== @@ -3,7 +3,7 @@ fl="-std=c89" for opt; do case "$opt" in -ansi|-std=c89|-std=iso9899:1990) fl="";; - -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2 + -std=*) echo "$(basename "$0") called with non ANSI/ISO C option $opt" >&2 exit 1;; esac done ===================================== c99 ===================================== @@ -3,7 +3,7 @@ fl="-std=c99" for opt; do case "$opt" in -std=c99|-std=iso9899:1999) fl="";; - -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2 + -std=*) echo "$(basename "$0") called with non ISO C99 option $opt" >&2 exit 1;; esac done View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/compare/5d3fc68a98b548026f01eec74707445e8b16413a...3f3f42087e3b47daca95833d3bb01d1755fb034c -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/compare/5d3fc68a98b548026f01eec74707445e8b16413a...3f3f42087e3b47daca95833d3bb01d1755fb034c You're receiving this email because of your account on gitlab.archlinux.org.