From 7342c7063987a1bf2c7c7b05f86e6cb8e46cfa9c Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Mon, 7 Mar 2011 21:01:31 -0700 Subject: [PATCH] This is more desirable. --- install | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/install b/install index 2f77070..0fc8832 100755 --- a/install +++ b/install @@ -185,9 +185,16 @@ if ($upref) { if (!-d $langdir) { make_path($langdir) } if (!-d $moddir) { make_path($moddir) } + my $bgenssl = 'genssl'; + my $bbuildmod = 'buildmod'; + if ($libbuild) { + $bgenssl = "auto-$bgenssl"; + $bbuildmod = "auto-$bbuildmod"; + } copy("$Bin/bin/auto", "$PREFIX/bin/auto"); - copy("$Bin/bin/buildmod", "$PREFIX/bin/auto-buildmod"); - copy("$Bin/bin/genssl", "$PREFIX/bin/auto-genssl"); + copy("$Bin/bin/buildmod", "$PREFIX/bin/$bbuildmod"); + copy("$Bin/bin/genssl", "$PREFIX/bin/$bgenssl"); + chmod 0755, "$PREFIX/bin/auto", "$PREFIX/bin/$bgenssl", "$PREFIX/bin/$bbuildmod"; rcopy("$Bin/lib/*", "$libdir/"); remove_tree("$libdir/File"); }