diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-05-03 14:27:06 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-05-03 14:51:51 +0200 |
commit | 55fb624ac03cd353a34b593a2d8612eccbedff15 (patch) | |
tree | 1e20d9447b3d7e4d7a418b04a5a8fcec6b17bfa5 /solenv/bin | |
parent | 660173e6daa7b4904cb7c36ccdae1911307d1753 (diff) |
ooinstall: respect DESTDIR
The problem was that ooinstall just passed -destdir to
make_installer.pl, but before that, it tried to create the root
directory, where it did not respect DESTDIR.
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'solenv/bin')
-rwxr-xr-x | solenv/bin/ooinstall | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/ooinstall b/solenv/bin/ooinstall index 83717fa68e1e..47c06cb6b62e 100755 --- a/solenv/bin/ooinstall +++ b/solenv/bin/ooinstall @@ -29,7 +29,7 @@ for $arg (@ARGV) { $help = 1; } else { # Cwd::realpath does not work if the path does not exist - mkpath($arg) unless -d $arg; + mkpath($ENV{DESTDIR} . $arg) unless -d $ENV{DESTDIR} . $arg; $path = Cwd::realpath( $arg ); } } |