diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-20 02:42:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-20 02:42:19 +0000 |
commit | 77a82d1a6cdefd3305e80a971640d51069d2bc55 (patch) | |
tree | 06655ae6fa9e422468b8a6851eeaf77c66dfaf69 /usr/local/www/pkg_mgr_install.php | |
parent | 8f39b49bf9c821a2c2001e182c7b126a5223fbcb (diff) | |
download | pfsense-77a82d1a6cdefd3305e80a971640d51069d2bc55.zip pfsense-77a82d1a6cdefd3305e80a971640d51069d2bc55.tar.gz |
Use full path to tar
Diffstat (limited to 'usr/local/www/pkg_mgr_install.php')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 4403f23..cd125b7 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -433,7 +433,7 @@ foreach ($packages_to_install as $id) { if(stristr($filename, ".tgz") <> "") { update_status("Extracting tgz archive to -C for " . $filename); fwrite($fd_log, "Extracting tgz archive to -C for " . $filename . " ...\n"); - system("cd /usr/local/pkg && tar xzvf " . $filename . " -C / >/dev/null 2>&1"); + system("/usr/bin/tar xzvf " . $filename . " -C / >/dev/null 2>&1"); } } } |