commit e1a2b450a0386ad48a93612a5b76bed790d45bec parent 991df47ea638198193959a981f6434685a28d963 Author: sin <sin@2f30.org> Date: Tue, 1 Jul 2014 13:54:43 +0100 Makes more sense to print the filename before downloading Diffstat:
M | fetchpkg | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fetchpkg b/fetchpkg @@ -2,6 +2,6 @@ while read -r pkg; do filename=$(echo $(basename "$pkg") | sed 's/%23/#/') - curl -# "$pkg" > "$filename" echo "$filename" + curl -# "$pkg" > "$filename" done