We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d412a4 commit f6b7050Copy full SHA for f6b7050
lib/builtin.sh
@@ -38,11 +38,11 @@ ab_reverse_patches() {
38
ab_match_arch() {
39
# Check whether the calling of function is illegal
40
if [[ -z $1 ]]; then
41
- aberr "ab_match_arch() was called but no pattern was specified."
+ aberr "ab_match_arch() was called but no pattern was specified."
42
abinfo "Usage: ab_match_arch \"match_pattern\""
43
abdie "Misuse of ab_match_arch()! Refuse to proceed."
44
fi
45
- if [[ ${ABHOST%%_*} = $1 ]]; then
+ if [[ ${ABHOST} = $1 ]]; then
46
abinfo "Architecture $ABHOST matches $1: taking true branch."
47
return 0
48
else
0 commit comments