aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Hoelz <rob@hoelz.ro>2012-12-19 00:39:32 +0100
committerRob Hoelz <rob@hoelz.ro>2012-12-19 00:39:32 +0100
commit5d804c4e841f410724621bb722af02add93c28ea (patch)
tree4d95746b43b653cb278b81c8aa6e227e2bf1f694
parenta67c1838f55e3d2fd819b983e32c076b3ea408d6 (diff)
Remove DESTDIR prefix from bin-install line
If using DESTDIR to package up Rakudo Star in an RPM or similar format, the Makefile currently ends up writing the package build directory into the shebang line of the installed scripts. This is probably not a good idea.
-rw-r--r--tools/build/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/Makefile.in b/tools/build/Makefile.in
index 3ab27ed..a617ed8 100644
--- a/tools/build/Makefile.in
+++ b/tools/build/Makefile.in
@@ -79,7 +79,7 @@ modules-install: rakudo-install
@echo "== Installing modules"
$(PERL) tools/build/module-install.pl $(DESTDIR)$(PERL6_INSTALL) $(DESTDIR)$(PERL6_LANG_DIR)/lib $(MODULES)
@echo "== Installing binaries"
- $(PERL) tools/build/bin-install.pl $(DESTDIR)$(PERL6_INSTALL) $(DESTDIR)$(PARROT_BIN_DIR) modules/ufo/bin/ufo modules/panda/bin/panda modules/doc/bin/p6doc
+ $(PERL) tools/build/bin-install.pl $(PERL6_INSTALL) $(DESTDIR)$(PARROT_BIN_DIR) modules/ufo/bin/ufo modules/panda/bin/panda modules/doc/bin/p6doc
modules-test:
$(PERL) tools/build/modules-test.pl $(CURDIR) $(DESTDIR)$(PERL6_INSTALL) modules/MODULES.txt