Skip to content

Commit

Permalink
Add -H to find in symlink_contents_to_dir (#303)
Browse files Browse the repository at this point in the history
This fixes #302
  • Loading branch information
slam authored and irengrig committed Aug 7, 2019
1 parent adb04ee commit c3d5405
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if [[ -f $1 ]]; then
fi
if [[ -d $1 || -L $1 ]]; then
local children=$(find $1 -maxdepth 1 -mindepth 1)
local children=$(find -H $1 -maxdepth 1 -mindepth 1)
for child in $children; do
##symlink_to_dir## $child $target
done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if [[ -f $1 ]]; then
fi
if [[ -d $1 || -L $1 ]]; then
local children=$(find $1 -maxdepth 1 -mindepth 1)
local children=$(find -H $1 -maxdepth 1 -mindepth 1)
for child in $children; do
##symlink_to_dir## $child $target
done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if [[ -f $1 ]]; then
fi
if [[ -d $1 || -L $1 ]]; then
local children=$(find $1 -maxdepth 1 -mindepth 1)
local children=$(find -H $1 -maxdepth 1 -mindepth 1)
for child in $children; do
##symlink_to_dir## $child $target
done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if [[ -f $1 ]]; then
fi
if [[ -d $1 || -L $1 ]]; then
local children=$(find $1 -maxdepth 1 -mindepth 1)
local children=$(find -H $1 -maxdepth 1 -mindepth 1)
for child in $children; do
##symlink_to_dir## $child $target
done
Expand Down

0 comments on commit c3d5405

Please sign in to comment.