From 7571f01b6c526bb877700830291de8fcb347bd4c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 2 Oct 2008 02:53:09 +0200 Subject: [PATCH] For now when stowning/unstowing ignore perllocal.pod files. --HG-- extra : convert_revision : c48e533d95faa66db06b52cb5f77f7301608d090 --- pkgfs.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgfs.sh b/pkgfs.sh index fc11a7a1aa0..2fd74eec43c 100755 --- a/pkgfs.sh +++ b/pkgfs.sh @@ -66,6 +66,7 @@ : ${xstow_version:=xstow-0.6.1-unstable} : ${xstow_args:=-ap} +: ${xstow_ignore_files:=perllocal.pod} # XXX For now ignore them. set_defvars() { @@ -623,7 +624,8 @@ stow_tmpl() xstow_args="$xstow_args -i-file-in-dir $infodir_pkg" fi - $PKGFS_XSTOW_CMD ${xstow_args} -pd-targets $PKGFS_MASTERDIR \ + $PKGFS_XSTOW_CMD -ignore ${xstow_ignore_files} ${xstow_args} \ + -pd-targets $PKGFS_MASTERDIR \ -dir $PKGFS_DESTDIR -target $PKGFS_MASTERDIR \ $PKGFS_DESTDIR/$pkg if [ "$?" -ne 0 ]; then @@ -654,7 +656,8 @@ unstow_tmpl() fi $PKGFS_XSTOW_CMD -dir $PKGFS_DESTDIR -target $PKGFS_MASTERDIR \ - -D -i-file-in-dir share/info/dir $PKGFS_DESTDIR/$pkg + -D -i-file-in-dir share/info/dir -ignore ${xstow_ignore_files} \ + $PKGFS_DESTDIR/$pkg if [ "$?" -ne 0 ]; then exit 1 else