Use lowercase a to declare array (closes #4)
This commit is contained in:
parent
67198d1021
commit
04efede480
1 changed files with 3 additions and 3 deletions
|
@ -243,9 +243,9 @@ END
|
||||||
}
|
}
|
||||||
|
|
||||||
# keep track of the .torrent files to be downloaded
|
# keep track of the .torrent files to be downloaded
|
||||||
declare -A TORRENT_QUEUE
|
declare -a TORRENT_QUEUE
|
||||||
# keep track of the rsyncs to download torrent data
|
# keep track of the rsyncs to download torrent data
|
||||||
declare -A RUNNING_RSYNCS
|
declare -a RUNNING_RSYNCS
|
||||||
# run indefinitely
|
# run indefinitely
|
||||||
while true; do
|
while true; do
|
||||||
# check to make sure the path of the local .torrent files exists
|
# check to make sure the path of the local .torrent files exists
|
||||||
|
@ -253,7 +253,7 @@ while true; do
|
||||||
echo "${TORRENT_FILE_PATH} Does not exist"
|
echo "${TORRENT_FILE_PATH} Does not exist"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
OIFS="$IFS"
|
OIFS="$IFS"
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
# enumerate the .torrent file directory
|
# enumerate the .torrent file directory
|
||||||
|
|
Loading…
Reference in a new issue