summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-01-31 23:19:08 +0200
committerTor Lillqvist <tml@iki.fi>2013-01-31 23:23:37 +0200
commitc84e417a0f71778a5d6e0fa1ad4b10844ebd7787 (patch)
treee943b0453583f05ad0c29654f3a8436699c0b85d /solenv
parent57454a3ed85bf11df59157f3f0a371156a17fb09 (diff)
When debugging ooinstall, assume you want to debug make_installer.pl, too
Change-Id: I80492249471c15778bfafe36e65fa183ccff58f8
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/ooinstall4
1 files changed, 3 insertions, 1 deletions
diff --git a/solenv/bin/ooinstall b/solenv/bin/ooinstall
index c2959bc808fe..bcc296cec90b 100755
--- a/solenv/bin/ooinstall
+++ b/solenv/bin/ooinstall
@@ -118,7 +118,9 @@ if ($destdir && "$ENV{DESTDIR}" ne "/" && -d "$ENV{DESTDIR}") {
print "Running LibreOffice installer\n";
system ("cd $ENV{SRC_ROOT}/instsetoo_native/util ; " .
- "perl -w $ENV{SOLARENV}/bin/make_installer.pl " .
+ "perl " .
+ (scalar keys(%DB::sub) ? "-d " : "") .
+ "-w $ENV{SOLARENV}/bin/make_installer.pl " .
"-f openoffice.lst -l $langs -p LibreOffice " .
"-u $tmp_dir " .
"-buildid $BUILD $destdir $strip $msi " .