From 7c9780402294c977ca1e07313882cf8102c52ed3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 4 Feb 2009 03:41:06 +0100 Subject: [PATCH] binpkg: use -L flag for find(1) when creating flist. This is required for the links to appear in. --HG-- extra : convert_revision : 6951b6245f4c7106cd4db37f9b9365aac4023403 --- shutils/binpkg.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shutils/binpkg.sh b/shutils/binpkg.sh index da3cddd423..1ef724e35f 100644 --- a/shutils/binpkg.sh +++ b/shutils/binpkg.sh @@ -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.