summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2008-11-05 22:06:51 +0000
committerAlp Toker <alp@nuanti.com>2008-11-05 22:14:29 +0000
commit47928bb8852cbfe1be93cf32df08904e1f9b02ce (patch)
tree4f8e4aa17e4b3427fcf39f8b91f36532e5a9ef59
parent5e9eef10693941eacb27a927f242ff70ca33d1c3 (diff)
Fix building on systems with bash 3.0 and older.
Older versions of bash do not support the concatenation syntax (+=) used in doltlibtool so replace it with a more compatible equivalent. This patch has been deployed for some time in Mono and WebKit without incident and doesn't seem to impact performance. Fixes freedesktop.org bug #18363
-rw-r--r--dolt.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/dolt.m4 b/dolt.m4
index 8c75480..8f94582 100644
--- a/dolt.m4
+++ b/dolt.m4
@@ -157,7 +157,7 @@ for arg in "$[]@"; do
case "$arg" in
--mode=compile) modeok=true ;;
--tag=CC|--tag=CXX) tagok=true ;;
- *) args+=("$arg")
+ *) args@<:@${#args[@]}@:>@="$arg" ;;
esac
done
if $modeok && $tagok ; then