commit 4b27ba92eb0d0b6dd7b8d9ea61f2a4d1ce260a91
parent 3fbc4104c833ba480752ef0e822d9d284a055e97
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Thu, 26 Nov 2015 04:41:18 +0100
Give convertpkg-compat32 the correct directory
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
@@ -814,7 +814,8 @@ sub do_convertpkg {
my $pkg = shift;
my $tempfh = tempfile(DIR => $tempdir);
my $fn = get_tmp_extfn($tempfh);
- my $cmd = "/usr/sbin/convertpkg-compat32 -i $pkg -d $tmpd | tee $fn";
+ my $c32tmpd = $env_tmp // '/tmp';
+ my $cmd = "/usr/sbin/convertpkg-compat32 -i $pkg -d $c32tmpd | tee $fn";
if (system($cmd) != 0) {
return "convertpkg-compt32 returned non-zero exit status\n",
_ERR_CONVERTPKG;