From 995d0944fec014e6e95809bf133052ad89c5a93a Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 22 Oct 2012 20:07:15 +0000 Subject: Only emulate shell commands via perl if real versions do not exist already --- perl-install/install/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install/Makefile') diff --git a/perl-install/install/Makefile b/perl-install/install/Makefile index 048e401f4..e1902c985 100644 --- a/perl-install/install/Makefile +++ b/perl-install/install/Makefile @@ -48,7 +48,7 @@ install_pms: [ -d $(DEST) ] || ../../tools/mdkinst_stage2_tool --uncompress $(STAGE2_DEST) # commands implemented in perl: - for i in `perl -ne 's/sub (\w+?)_?(\(\))? {.*/$$1/ and print' commands.pm` sync; do ln -sf commands $(DEST)/usr/bin/$$i; done + for i in `perl -ne 's/sub (\w+?)_?(\(\))? {.*/$$1/ and print' commands.pm` sync; do if [ ! -x /usr/bin/$$i ]; then ln -sf commands $(DEST)/usr/bin/$$i; fi; done # install & clean perl modules: install -d $(DESTREP4PMS) -- cgit v1.2.1