diff options
author | Robert Nagy <robert@openbsd.org> | 2011-05-09 16:08:45 +0200 |
---|---|---|
committer | Robert Nagy <robert@openbsd.org> | 2011-05-09 16:09:45 +0200 |
commit | 45a67e09fcd92531ee029287877410e84b3fc8e6 (patch) | |
tree | 15cca27e5838e638ab92c5d9b5fceec130c9818e | |
parent | 49dac3eff5f5af1a401d9839fd3caef57b0e404f (diff) |
use Cwd::realpath to avoid confusion with symlinked dirs
-rw-r--r-- | solenv/bin/modules/installer/parameter.pm | 2 |
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 { |