Merge "dib-run-parts should dereference symlinks"

This commit is contained in:
Jenkins 2014-01-16 11:56:17 +00:00 committed by Gerrit Code Review
commit 5108838071

View File

@ -59,7 +59,7 @@ fi
# parallelized later
# Note: -maxdepth 1 ensures only files in the target directory (but not
# subdirectories) are run, which is the way run-parts behaves.
targets=$(find $target_dir -maxdepth 1 -type f -executable -printf '%f\n' | grep -E "$allowed_regex" | LANG=C sort -n)
targets=$(find $target_dir -maxdepth 1 -xtype f -executable -printf '%f\n' | grep -E "$allowed_regex" | LANG=C sort -n)
if [ "$show_list" == "1" ] ; then
for target in $targets ; do