Merge "dib-run-parts should dereference symlinks"
This commit is contained in:
@@ -59,7 +59,7 @@ fi
|
|||||||
# parallelized later
|
# parallelized later
|
||||||
# Note: -maxdepth 1 ensures only files in the target directory (but not
|
# Note: -maxdepth 1 ensures only files in the target directory (but not
|
||||||
# subdirectories) are run, which is the way run-parts behaves.
|
# 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
|
if [ "$show_list" == "1" ] ; then
|
||||||
for target in $targets ; do
|
for target in $targets ; do
|
||||||
|
Reference in New Issue
Block a user