From 0a7b766e67fade604569fe9fe512fbb4f70c4d72 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 23 Nov 2018 00:10:14 +0100 Subject: [vim] Use legacy branch of iron.nvim --- install_wget | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'install_wget') diff --git a/install_wget b/install_wget index f21bfa7..4800e8d 100644 --- a/install_wget +++ b/install_wget @@ -2,7 +2,8 @@ find . -type f -name "*.wget" | \ while read -r file; do - destination=$HOME/$(echo "${file%.*}" | sed 's#\./[^/]*/##') + destination=$HOME/$(echo "${file%.*}" | sed 's#\./[^/]*/##') + mkdir -p "$(dirname "$destination")" wget "$(cat "$file")" -O "$destination" if [[ "$file" == ./bin/* ]]; then chmod +x "$destination" -- cgit v1.2.3