summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/update-flexi-color-picker.sh1
-rwxr-xr-xscripts/update-prism.sh1
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