diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-13 11:49:17 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-13 11:49:17 (EST) |
commit | e42fa02e77211074ba6f7d80f8ea86edfc4a7d0e (patch) | |
tree | 04b30ee49d0f194ff810d0061323a76121691811 /scripts | |
parent | 55db478a8c4b7f9dfbc7137ffe3dd446cc972374 (diff) | |
download | marquee-e42fa02e77211074ba6f7d80f8ea86edfc4a7d0e.zip marquee-e42fa02e77211074ba6f7d80f8ea86edfc4a7d0e.tar.gz marquee-e42fa02e77211074ba6f7d80f8ea86edfc4a7d0e.tar.bz2 |
scripts/update-*.sh: Ensure directories exist
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-flexi-color-picker.sh | 1 | ||||
-rwxr-xr-x | scripts/update-prism.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/update-flexi-color-picker.sh b/scripts/update-flexi-color-picker.sh index 6690def..ba755c1 100755 --- a/scripts/update-flexi-color-picker.sh +++ b/scripts/update-flexi-color-picker.sh @@ -11,6 +11,7 @@ download() local lfile="${2}" shift 2 + mkdir -p "$(dirname "${0}")/../${RES_PATH}" wget -O "$(dirname "${0}")/../${RES_PATH}/${lfile}" \ "${URL_BASE}/${rpath}" } diff --git a/scripts/update-prism.sh b/scripts/update-prism.sh index 55dbed9..78be0de 100755 --- a/scripts/update-prism.sh +++ b/scripts/update-prism.sh @@ -11,6 +11,7 @@ download_files() for file in "${@}"; do file="${file#%reldir%/}" + mkdir -p "$(dirname "${0}")/../${RES_PATH}/${file%/*}" wget -O "$(dirname "${0}")/../${RES_PATH}/${file}" \ "${URL_BASE}/${file%in}" done |