summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/oh-installfiles.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh
index 3a19928..e91c26e 100644
--- a/src/oh-installfiles.sh
+++ b/src/oh-installfiles.sh
@@ -45,6 +45,7 @@ main()
while IFS="${files_ifs}" read -r pattern; do
for file in dest/${pattern}; do
+ [ -e "${file}" ] || continue
file="${file#dest}"
mkdir -p "${pkg}.data/${file%/*}"
ln "${PWD}/dest/${file}" "${pkg}.data/${file}"