summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-27 04:31:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-27 04:31:21 +0000
commit3b20b2c1af5d5a8bd60299014ff0488e2638aad9 (patch)
tree4ae9bfd823143ffb2ba0737ab8236814c1dc435a /perl-install/Makefile
parentf2f27df3c5ad9037ab6e7327d40907acf650351f (diff)
downloaddrakx-backup-do-not-use-3b20b2c1af5d5a8bd60299014ff0488e2638aad9.tar
drakx-backup-do-not-use-3b20b2c1af5d5a8bd60299014ff0488e2638aad9.tar.gz
drakx-backup-do-not-use-3b20b2c1af5d5a8bd60299014ff0488e2638aad9.tar.bz2
drakx-backup-do-not-use-3b20b2c1af5d5a8bd60299014ff0488e2638aad9.tar.xz
drakx-backup-do-not-use-3b20b2c1af5d5a8bd60299014ff0488e2638aad9.zip
remove from perl-Gtk2 directories from /tmp/list to have less warnings
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index b27e6a4a9..d7b3eb654 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -87,7 +87,7 @@ get_needed_files: $(DIRS) mo_files
cat share/list `../tools/specific_arch share/list` | \
perl -pe "s/ARCH/$(ARCH)/g ; s/PERL_VERSION/$$version/g ; s|/LIB/|/$(LIB)/|g " | \
perl -lpe '@l = glob; m|\*.*/| && @l != 1 and die "no/multiple match for $$_\n"; $$_ = join("\n", @l)' > $(TMPDIR)/list
- rpm -ql perl-Gtk2 perl-Glib | grep '^/usr/lib/perl5' | grep -v '\.pod$$' >> $(TMPDIR)/list
+ rpm -ql perl-Gtk2 perl-Glib | perl -lne 'print if m!^/usr/lib/perl5! && !/\.pod$$/ && ! -d' >> $(TMPDIR)/list
@missing=`perl -lne 'print if !-e $$_' $(TMPDIR)/list`; [ -z "$$missing" ] || { echo "missing or multiple files vvvvvvvvvvvvvvvvvvvvvvvvvv" ; echo "$$missing" ; echo "missing or multiple files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" ; exit 1; }