binpkg: use -L flag for find(1) when creating flist.
This is required for the links to appear in. --HG-- extra : convert_revision : 6951b6245f4c7106cd4db37f9b9365aac4023403
This commit is contained in:
parent
09fc2634ad
commit
7c97804022
|
@ -47,10 +47,10 @@ xbps_write_metadata_pkg()
|
|||
# Write the files list.
|
||||
local TMPFLIST=$(mktemp -t flist.XXXXXXXXXX) || exit 1
|
||||
# First add the regular files.
|
||||
find $destdir -type f | \
|
||||
find -L $destdir -type f | \
|
||||
sed -e "s|$destdir||g;s|^\/$||g;/^$/d" > $TMPFLIST
|
||||
# and add the directories at the end.
|
||||
find $destdir -type d | sort -ur | \
|
||||
find -L $destdir -type d | sort -ur | \
|
||||
sed -e "s|$destdir||g;s|^/$||g;/^$/d" >> $TMPFLIST
|
||||
|
||||
# Write the property list file.
|
||||
|
|
Loading…
Reference in New Issue