Improve scripts

This commit is contained in:
Tobias Reisinger 2022-10-17 18:49:58 +02:00
parent f94f6a1c60
commit b5764c0376
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
8 changed files with 28 additions and 16 deletions

View file

@ -1,3 +1,5 @@
#!/usr/bin/env sh
base_path="$HOME/.cache/remote-sources"
mkdir -p "$base_path"
file_path="$base_path/$1"
@ -7,5 +9,3 @@ then
curl -Ls -o "$file_path" "$2"
fi
source $file_path
# vim: ft=bash