aboutsummaryrefslogtreecommitdiff
path: root/tools/build/module-install.pl
diff options
context:
space:
mode:
authorTobias Leich <email@froggs.de>2016-01-27 20:45:04 +0100
committerTobias Leich <email@froggs.de>2016-01-27 21:23:32 +0100
commit226eb20032baac7c4bda074e0d16b741ecbf568a (patch)
tree9aa9ce222ccaed22f1a95b4c4f4a3f25f2f26b1b /tools/build/module-install.pl
parente3df6628a05eff3d70ab59c5e310f398d6073dcb (diff)
revert using --bindir when installing panda
We can install panda and the binaries of the Star dist into install/bin, though when the user later installs binaries or updates panda, these would go into install/share/perl6/site/bin by default. Since there is currently no sane way to prevent that, we just install non-core stuff info [...]/site/bin, and the user will have to add two paths to PATH.
Diffstat (limited to 'tools/build/module-install.pl')
-rw-r--r--tools/build/module-install.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/build/module-install.pl b/tools/build/module-install.pl
index 4caacb7..8af22e4 100644
--- a/tools/build/module-install.pl
+++ b/tools/build/module-install.pl
@@ -4,14 +4,13 @@ use warnings;
use strict;
my $perl6bin = shift @ARGV;
my $pandabin = shift @ARGV;
-my $bindir = shift @ARGV;
my $exit = 0;
while (<>) {
next if /^\s*(#|$)/;
my ($module) = /(\S+)/;
- $exit ||= system $perl6bin, $pandabin, '--force', "--bin-prefix=$bindir", "install", "modules/$module";
+ $exit ||= system $perl6bin, $pandabin, '--force', "install", "modules/$module";
}
exit $exit;