summaryrefslogtreecommitdiff
path: root/solenv/bin/modules/installer/parameter.pm
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-07-24 08:50:45 +0200
committerDavid Tardon <dtardon@redhat.com>2013-07-24 08:50:51 +0200
commit8bae88b146529d469742b33ead50b3a01457e313 (patch)
treeea78ec52af19ac75d63486d1a784704006a4960e /solenv/bin/modules/installer/parameter.pm
parentb0c43257d9db19ac45a93d8fb1e7648e82517289 (diff)
look for find-requires-gnome.sh in the right path
... and make sure it exists as well. Change-Id: Ia895d93d2755a2b0b9d87601ace54ee47b5c1b80
Diffstat (limited to 'solenv/bin/modules/installer/parameter.pm')
-rw-r--r--solenv/bin/modules/installer/parameter.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/bin/modules/installer/parameter.pm b/solenv/bin/modules/installer/parameter.pm
index 4475ec47f788..0cc6e9e0c753 100644
--- a/solenv/bin/modules/installer/parameter.pm
+++ b/solenv/bin/modules/installer/parameter.pm
@@ -349,6 +349,11 @@ sub setglobalvariables
$installer::globals::unpackpath = cwd();
}
+ if ($installer::globals::workpath eq "") # workpath not set
+ {
+ $installer::globals::workpath = cwd();
+ }
+
if ( $installer::globals::localunpackdir ne "" ) { $installer::globals::unpackpath = $installer::globals::localunpackdir; }
if (!($installer::globals::unpackpath eq ""))