summaryrefslogtreecommitdiff
path: root/build-aux/declared.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/declared.sh')
-rwxr-xr-xbuild-aux/declared.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/declared.sh b/build-aux/declared.sh
index 5a6a6793a7..b721f7e992 100755
--- a/build-aux/declared.sh
+++ b/build-aux/declared.sh
@@ -75,7 +75,7 @@ while test $# -gt 0; do
-- ) # Stop option processing
shift; break ;;
-* )
- func_fatal_error "unrecognized option: $option"
+ func_fatal_error "unrecognized option: $1"
;;
* )
break ;;