summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-07-05 09:47:11 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-07-05 09:47:11 +0000
commite5ac83ae5e28028d3245df5d22c6b85255667793 (patch)
tree8916d71a2a3e5ea1a1edb955cb05234f338faa94
parent305a01aee22cc145376e9d18692809705618ced2 (diff)
downloaddrakx-backup-do-not-use-e5ac83ae5e28028d3245df5d22c6b85255667793.tar
drakx-backup-do-not-use-e5ac83ae5e28028d3245df5d22c6b85255667793.tar.gz
drakx-backup-do-not-use-e5ac83ae5e28028d3245df5d22c6b85255667793.tar.bz2
drakx-backup-do-not-use-e5ac83ae5e28028d3245df5d22c6b85255667793.tar.xz
drakx-backup-do-not-use-e5ac83ae5e28028d3245df5d22c6b85255667793.zip
don't use sed when not needed
-rw-r--r--perl-install/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 62cb5b706..a8c2f0d61 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -134,7 +134,7 @@ endif
mv -f $(DEST)/lib/libimlib-png.so $(DEST)/usr/lib
# # transform xpm's in png's
- for i in $(DEST)/usr/share/icons/*.xpm; do convert $$i `echo $$i | sed 's/xpm/png/'`; rm $$i; done
+ for i in $(DEST)/usr/share/icons/*.xpm; do convert $$i $${i%xpm}png; rm $$i; done
mv -f $(DEST)/bin/* $(DEST)/sbin/* $(DEST)/usr/bin
cd $(DEST)/usr/bin ; mv insmod insmod_