diff options
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-x | mkinitramfs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkinitramfs b/mkinitramfs index 1c6ad28..e3b392e 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -304,8 +304,8 @@ fi # Remove any looping or broken symbolic links, since they break cpio. [ "${verbose}" = y ] && xargs_verbose="-t" -find "${DESTDIR}" -type l -printf '%p %Y\n' | sed -n 's/ [LN]$//p' \ - | xargs ${xargs_verbose:-} -rL1 rm -f +(cd "${DESTDIR}" && find . -type l -printf '%p %Y\n' | sed -n 's/ [LN]$//p' \ + | xargs ${xargs_verbose:-} -rL1 rm -f) [ "${verbose}" = y ] && echo "Building cpio ${outfile} initramfs" ( |