summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreric <eric>2004-09-07 12:42:57 +0000
committereric <eric>2004-09-07 12:42:57 +0000
commit0ef4f2308bd203f3b5b5d1c67df7b9e2c30b9eea (patch)
tree950b755de0b9180d34b5d5cff8ee6e618ea6699a
parent90473a79d3be3041eed7f9c9cbb32a10f4804b65 (diff)
downloadaurweb-0ef4f2308bd203f3b5b5d1c67df7b9e2c30b9eea.tar.xz
fix parse errors on pkgsubmit
-rw-r--r--web/html/pkgsubmit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 236073e..ad917bd 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -43,11 +43,11 @@ if ($_COOKIE["AURSID"]) {
# the uploaded package file.
#
- $upload_file = $UPLOAD_DIR . $pkg_name
+ $upload_file = $UPLOAD_DIR . $pkg_name;
if (move_uploaded_file($_FILES["pfile"]["tmp_name"], $upload_file)) {
# ok, we can proceed
#
- if (file_exists($INCOMING_DIR . $pkg_name) {
+ if (file_exists($INCOMING_DIR . $pkg_name)) {
# blow away the existing file/dir and contents
#
rm_rf($INCOMING_DIR . $pkg_name);
@@ -73,11 +73,11 @@ if ($_COOKIE["AURSID"]) {
} else {
# try .gz first
#
- exec("/bin/sh -c 'tar xzf ".$upload_file."'",, $retval);
+ exec("/bin/sh -c 'tar xzf ".$upload_file."'", $retval);
if (!$retval) {
# now try .bz2 format
#
- exec("/bin/sh -c 'tar xjf ".$upload_file."'",, $retval);
+ exec("/bin/sh -c 'tar xjf ".$upload_file."'", $retval);
}
if (!$retval) {
$error = __("Unknown file format for uploaded file.");