aboutsummaryrefslogtreecommitdiff
path: root/reproduce
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2019-02-06 18:16:41 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2019-02-06 18:21:52 +0000
commit340a7ece34013345e1520dcac38218b7d41c7c26 (patch)
tree914d31fd5cf3d84c6293726ba95d01ce819e55b5 /reproduce
parent1c508e636b90ae170213ccf71771711156dd8f52 (diff)
Removed .sh suffix in download wrapper script
We don't have a `.sh' suffix in the other scripts of `reproduce/src/bash', so it was also removed from this script.
Diffstat (limited to 'reproduce')
-rwxr-xr-xreproduce/src/bash/download-multi-try (renamed from reproduce/src/bash/download-multi-try.sh)4
-rw-r--r--reproduce/src/make/download.mk2
2 files changed, 4 insertions, 2 deletions
diff --git a/reproduce/src/bash/download-multi-try.sh b/reproduce/src/bash/download-multi-try
index 31490c9..642908e 100755
--- a/reproduce/src/bash/download-multi-try.sh
+++ b/reproduce/src/bash/download-multi-try
@@ -1,6 +1,8 @@
#!.local/bin/bash
#
-# Try downloading multiple times before crashing whole pipeline
+# Attempt downloading multiple times before crashing whole pipeline. From
+# the top paper directory (for the shebang above), this script must be run
+# like this:
#
# $ ./download-multi-try downloader lockfile input-url downloaded-name
#
diff --git a/reproduce/src/make/download.mk b/reproduce/src/make/download.mk
index 1fc51e6..a1efde7 100644
--- a/reproduce/src/make/download.mk
+++ b/reproduce/src/make/download.mk
@@ -52,7 +52,7 @@
# process with a file and make sure that only one downloading event is in
# progress at every moment.
$(indir):; mkdir $@
-downloadwrapper = $(srcdir)/bash/download-multi-try.sh
+downloadwrapper = $(srcdir)/bash/download-multi-try
inputdatasets = $(foreach i, wfpc2, $(indir)/$(i).fits)
$(inputdatasets): $(indir)/%.fits: | $(indir) $(lockdir)