diff options
author | asami <asami@FreeBSD.org> | 2000-07-02 17:32:30 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-07-02 17:32:30 +0800 |
commit | abb4a63caa8c4459aac5808b84f34f1500cb961a (patch) | |
tree | d676a991e35ce3f4cbfa5abae9a0dddd48332c1b /Tools/portbuild | |
parent | cf23f5ceb9b4035db9b2966ec2862023aab50577 (diff) | |
download | freebsd-ports-gnome-abb4a63caa8c4459aac5808b84f34f1500cb961a.tar.gz freebsd-ports-gnome-abb4a63caa8c4459aac5808b84f34f1500cb961a.tar.zst freebsd-ports-gnome-abb4a63caa8c4459aac5808b84f34f1500cb961a.zip |
(1) Make extra files fatal errors only if they are files -- extra
directories are still included in the list of "extra stuff", but
are not considered fatal (for now).
(2) Use ls's -a flag to print out list of all files in ${PREFIX}, for
obvious reasons.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-x | Tools/portbuild/scripts/buildscript | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/buildscript b/Tools/portbuild/scripts/buildscript index 3d2bc669942c..eb0ac57421aa 100755 --- a/Tools/portbuild/scripts/buildscript +++ b/Tools/portbuild/scripts/buildscript @@ -95,14 +95,21 @@ else if [ "x${mtreefile}" != "x" ]; then mtree -f ${mtreefile} -p ${prefix} > /tmp/list3 if [ -s /tmp/list3 ]; then + if [ "x${NOPLISTCHECK}" = "x" ]; then + for path in $(awk '/^extra:/ {print $2}' /tmp/list3); do + if [ ! -d ${prefix}/${path} ]; then + echo "1" > /tmp/status + fi + done + fi echo "================================================================" echo "list of extra files and directories in ${prefix}" cat /tmp/list3 echo "list of all files and directories in ${prefix}" cd ${prefix} find . -exec echo -n 'path: ' \; -exec ls -1d \{} \; | sort - echo "ls -lR ${prefix}" - ls -lR ${prefix} + echo "ls -alR ${prefix}" + ls -alR ${prefix} fi fi else |