summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-04-28 09:36:56 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-04-28 09:36:56 (EDT)
commit76776cbfcf5192b0a8968825a6431cd17a3f1c04 (patch)
tree56116adb0f5faa886666ee5be148a5e996599ef4
parent325bf4d6a490fbf065dbd8abea54da86bfdded72 (diff)
oh-installfiles: Don't skip symbolic links.
-rw-r--r--src/oh-installfiles.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh
index 9e3a7fa..8538d8f 100644
--- a/src/oh-installfiles.sh
+++ b/src/oh-installfiles.sh
@@ -52,7 +52,7 @@ main()
while IFS="${files_ifs}" read -r pattern; do
for file in "${dir}/"${pattern}; do
- [ -e "${file}" ] || continue
+ [ -e "${file}" -o -L "${file}" ] || continue
file="${file#${dir}}"
mkdir -p "${pkg}.data/${file%/*}"
# TODO: If file, ln file. If dir, recursively mkdir and ln.