summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index 1524dfff55..4ea8b51d95 100755
--- a/buildconf
+++ b/buildconf
@@ -1,5 +1,7 @@
#!/bin/sh
+supplied_flag=$1
+
# do some version checking for the tools we use
if test "$1" = "--force"; then
shift
@@ -67,7 +69,7 @@ else
touch buildconf.stamp
fi
-if test "$1" = "--copy"; then
+if test "$supplied_flag" = "--copy"; then
automake_flags=--copy
fi