From c457f06e4341dc158b7cdea3c8c7700ffaf237c0 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 27 Apr 2020 01:24:03 +0100 Subject: [PATCH] bin/bdl: Remove the `$S' separator. It's much easier just to jam it on the end of the base if necessary. Also, it interferes with not having a prefix. As a result of this change, mark `B=' as optional. --- bin/bdl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bin/bdl b/bin/bdl index 659f903..778e5b1 100755 --- a/bin/bdl +++ b/bin/bdl @@ -4,12 +4,9 @@ V = 0 V_CURL_0 = @echo " CURL $@"; -## Separator. -S = / - ## Main rule. -%:; $(V_CURL_$V)curl -fsL -o$@.new $A "$B$S$*" && mv $@.new $@ +%:; $(V_CURL_$V)curl -fsL -o$@.new $A "$B$*" && mv $@.new $@ ## Help summary. -help:; @echo "Usage: bdl [-j NPROC] [A=ARGS] B=BASE [S=SEP] URL..." +help:; @echo "Usage: bdl [-j NPROC] [A=ARGS] [B=BASE] URL..." .PHONY: help -- 2.11.0