summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2021-11-12 12:32:11 +0100
committerSimon Rettberg2021-11-12 12:32:11 +0100
commitbc2afdbe097d4bdd558acc62bec944068ecd238b (patch)
treec2d537cd9f2cae56746a60470d427773e8d3085b
parent[downloader.inc] autoclone: Retry 3 times (diff)
downloadmltk-bc2afdbe097d4bdd558acc62bec944068ecd238b.tar.gz
mltk-bc2afdbe097d4bdd558acc62bec944068ecd238b.tar.xz
mltk-bc2afdbe097d4bdd558acc62bec944068ecd238b.zip
[downloader.inc] Fix misuse of $@ -> $*
-rw-r--r--core/includes/downloader.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/includes/downloader.inc b/core/includes/downloader.inc
index fc424aae..e18db442 100644
--- a/core/includes/downloader.inc
+++ b/core/includes/downloader.inc
@@ -100,7 +100,7 @@ download_untar () {
# iff the local file does not exist or is empty.
# Return 1 if remote file does not exist, 0 otherwise
download_if_empty() {
- [ $# -ne 2 ] && perror "download_if_empty: want 2 args, got $# ($@)"
+ [ $# -ne 2 ] && perror "download_if_empty: want 2 args, got $# ($*)"
local SRC="$1"
local DST="$2"
if [ -s "$DST" ]; then