summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2011-05-09 16:08:45 +0200
committerRobert Nagy <robert@openbsd.org>2011-05-09 16:08:45 +0200
commitfc967c2a5dd06977f33653b7dd698b2808778456 (patch)
treeb503eb1e9e547a762eb78bc733f9e178bac0bbad
parent7da478ea0dabd71e2d2ec75e10722c3f228307d1 (diff)
use Cwd::realpath to avoid confusion with symlinked dirs
-rw-r--r--solenv/bin/modules/installer/parameter.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/parameter.pm b/solenv/bin/modules/installer/parameter.pm
index 103cacbdb..b35686681 100644
--- a/solenv/bin/modules/installer/parameter.pm
+++ b/solenv/bin/modules/installer/parameter.pm
@@ -161,7 +161,7 @@ sub getparameter
elsif ($param eq "-destdir") # new parameter for simple installer
{
$installer::globals::rootpath ne "" && die "must set destdir before -i or -simple";
- $installer::globals::destdir = shift @ARGV;
+ $installer::globals::destdir = Cwd::realpath( shift @ARGV );
}
elsif ($param eq "-simple") # new parameter for simple installer
{