Project

General

Profile

« Previous | Next » 

Revision 633ef551

Added by Jim Pingle over 14 years ago

Set PKG_TMPDIR here too, to help nanobsd pkg installs.

View differences:

etc/inc/pkg-utils.inc
498 498
			}
499 499
		}
500 500
	}
501
	if (($g['platform'] == "nanobsd") || ($g['platform'] == "embedded"))
502
		$pkgtmpdir = "/usr/bin/env PKG_TMPDIR=/root/ ";
501 503
	$pkgaddout = "";
502
	exec("/usr/sbin/pkg_add -fv {$fetchto} 2>&1", $pkgaddout);
504
	exec("{$pkgtmpdir}/usr/sbin/pkg_add -fv {$fetchto} 2>&1", $pkgaddout);
503 505
	pkg_debug($pkgname . " " . print_r($pkgaddout, true) . "\npkg_add successfully completed.\n");
504 506

  
505 507
	return true;

Also available in: Unified diff