mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
Merge pull request #236 from mstan/codex/package-empty-runtime-dirs
packaging: tolerate empty runtime dir lists
This commit is contained in:
@@ -263,12 +263,16 @@ copy_runtime_dir() {
|
||||
echo "staged runtime dir ${name}/"
|
||||
}
|
||||
|
||||
for d in "${RUNTIME_DIRS[@]}"; do
|
||||
copy_runtime_dir "${d}" 0
|
||||
done
|
||||
for d in "${RUNTIME_DIRS_OPTIONAL[@]}"; do
|
||||
copy_runtime_dir "${d}" 1
|
||||
done
|
||||
if ((${#RUNTIME_DIRS[@]})); then
|
||||
for d in "${RUNTIME_DIRS[@]}"; do
|
||||
copy_runtime_dir "${d}" 0
|
||||
done
|
||||
fi
|
||||
if ((${#RUNTIME_DIRS_OPTIONAL[@]})); then
|
||||
for d in "${RUNTIME_DIRS_OPTIONAL[@]}"; do
|
||||
copy_runtime_dir "${d}" 1
|
||||
done
|
||||
fi
|
||||
|
||||
copy_proj() {
|
||||
local rel="$1"
|
||||
|
||||
Reference in New Issue
Block a user