aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-02-01 23:28:30 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-02-01 23:28:30 +0000
commit619fe2d966f91ad6db69138f3ffb8b148327576e (patch)
treebe93d11e14dd672e5083e729570a965cc04d0cfb
parentb87cf2e789033a79d9eae5cc553ade1a0a441f90 (diff)
downloadpaludis-619fe2d966f91ad6db69138f3ffb8b148327576e.tar.gz
paludis-619fe2d966f91ad6db69138f3ffb8b148327576e.tar.xz
Stop using +=, to support bash 3.0.
-rw-r--r--ebuild/syncers/docvs.in4
-rw-r--r--ebuild/syncers/dodarcs.in4
-rw-r--r--ebuild/syncers/dogit.in4
-rw-r--r--ebuild/syncers/dorsync.in5
-rw-r--r--ebuild/syncers/dosvn.in2
-rw-r--r--ebuild/syncers/dotar.in11
6 files changed, 16 insertions, 14 deletions
diff --git a/ebuild/syncers/docvs.in b/ebuild/syncers/docvs.in
index 0c143c4..9cce42c 100644
--- a/ebuild/syncers/docvs.in
+++ b/ebuild/syncers/docvs.in
@@ -16,11 +16,11 @@ while [[ $# -gt 0 ]]; do
case "${1}" in
--cvs-option=*)
- CVS_OPTIONS+=( "${1#*=}" )
+ CVS_OPTIONS[${#CVS_OPTIONS[@]}]="${1#*=}"
;;
--cvs-checkout-option=*)
- CVS_CHECKOUT_OPTIONS+=( "${1#*=}" )
+ CVS_CHECKOUT_OPTIONS[${#CVS_CHECKOUT_OPTIONS[@]}]="${1#*=}"
;;
--help)
diff --git a/ebuild/syncers/dodarcs.in b/ebuild/syncers/dodarcs.in
index ef0001e..6281c4e 100644
--- a/ebuild/syncers/dodarcs.in
+++ b/ebuild/syncers/dodarcs.in
@@ -16,11 +16,11 @@ while [[ $# -gt 0 ]]; do
case "${1}" in
--darcs-get-option=*)
- DARCS_GET_OPTIONS+=( "${1#*=}" )
+ DARCS_GET_OPTIONS[${#DARCS_GET_OPTIONS[@]}]="${1#*=}"
;;
--darcs-pull-option=*)
- DARCS_PULL_OPTIONS+=( "${1#*=}" )
+ DARCS_PULL_OPTIONS[${#DARCS_PULL_OPTIONS[@]}]="${1#*=}"
;;
--help)
diff --git a/ebuild/syncers/dogit.in b/ebuild/syncers/dogit.in
index 7a5d1fd..70b73d7 100644
--- a/ebuild/syncers/dogit.in
+++ b/ebuild/syncers/dogit.in
@@ -16,11 +16,11 @@ while [[ $# -gt 0 ]]; do
case "${1}" in
--git-clone-option=*)
- GIT_CLONE_OPTIONS+=( "${1#*=}" )
+ GIT_CLONE_OPTIONS[${#GIT_CLONE_OPTIONS[@]}]="${1#*=}"
;;
--git-pull-option=*)
- GIT_PULL_OPTIONS+=( "${1#*=}" )
+ GIT_PULL_OPTIONS[${#GIT_PULL_OPTIONS[@]}]="${1#*=}"
;;
--help)
diff --git a/ebuild/syncers/dorsync.in b/ebuild/syncers/dorsync.in
index e226f43..73b2640 100644
--- a/ebuild/syncers/dorsync.in
+++ b/ebuild/syncers/dorsync.in
@@ -15,11 +15,12 @@ while [[ $# -gt 0 ]]; do
case "${1}" in
--exclude-from=*)
- RSYNC_OPTIONS+=( --exclude-from "${1#*=}" )
+ RSYNC_OPTIONS[${#RSYNC_OPTIONS[@]}]=--exclude-from
+ RSYNC_OPTIONS[${#RSYNC_OPTIONS[@]}]="${1#*=}"
;;
--rsync-option=*)
- RSYNC_OPTIONS+=( "${1#*=}" )
+ RSYNC_OPTIONS[${#RSYNC_OPTIONS[@]}]="${1#*=}"
;;
--help)
diff --git a/ebuild/syncers/dosvn.in b/ebuild/syncers/dosvn.in
index 45ec0f6..a7c0ff5 100644
--- a/ebuild/syncers/dosvn.in
+++ b/ebuild/syncers/dosvn.in
@@ -15,7 +15,7 @@ while [[ $# -gt 0 ]]; do
case "${1}" in
--svn-checkout-option=*)
- SVN_CHECKOUT_OPTIONS+=( "${1#*=}" )
+ SVN_CHECKOUT_OPTIONS[${#SVN_CHECKOUT_OPTIONS[@]}]="${1#*=}"
;;
--help)
diff --git a/ebuild/syncers/dotar.in b/ebuild/syncers/dotar.in
index d07587a..9c62c33 100644
--- a/ebuild/syncers/dotar.in
+++ b/ebuild/syncers/dotar.in
@@ -17,23 +17,24 @@ while [[ $# -gt 0 ]]; do
case "${1}" in
--strip-components=*)
- DOUNPACK_OPTIONS+=( --tar-option="${1}" )
+ DOUNPACK_OPTIONS[${#DOUNPACK_OPTIONS[@]}]=--tar-option="${1}"
;;
--exclude-from=*)
- RSYNC_OPTIONS+=( --exclude-from "${1#*=}" )
+ RSYNC_OPTIONS[${#RSYNC_OPTIONS[@]}]=--exclude-from
+ RSYNC_OPTIONS[${#RSYNC_OPTIONS[@]}]="${1#*=}"
;;
--fetcher-option=*)
- FETCHER_OPTIONS+=( "${1#*=}" )
+ FETCHER_OPTIONS[${#RSYNC_OPTIONS[@]}]="${1#*=}"
;;
--tar-option=*)
- DOUNPACK_OPTIONS+=( "${1}" )
+ DOUNPACK_OPTIONS[${#DOUNPACK_OPTIONS[@]}]="${1}"
;;
--rsync-option=*)
- RSYNC_OPTIONS+=( "${1#*=}" )
+ RSYNC_OPTIONS[${#RSYNC_OPTIONS[@]}]="${1#*=}"
;;
--help)