diff options
author | P. 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) |
commit | 76776cbfcf5192b0a8968825a6431cd17a3f1c04 (patch) | |
tree | 56116adb0f5faa886666ee5be148a5e996599ef4 /src | |
parent | 325bf4d6a490fbf065dbd8abea54da86bfdded72 (diff) |
oh-installfiles: Don't skip symbolic links.
Diffstat (limited to 'src')
-rw-r--r-- | src/oh-installfiles.sh | 2 |
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. |