mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
added patch from Jurgen (thanks!)
This commit is contained in:
parent
422864112d
commit
4666bd8307
1 changed files with 2 additions and 2 deletions
|
@ -164,8 +164,8 @@ if ($_COOKIE["AURSID"]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$shcmd = "/bin/sh -c 'mv ".$upload_file." ".$INCOMING_DIR.$pkg_name;
|
$shcmd = "/bin/mv ".$upload_file." ";
|
||||||
$shcmd.= "/".$_FILES["pfile"]["name"]."'";
|
$shcmd.= escapeshellarg($INCOMING_DIR.$pkg_name."/".$_FILES["pfile"]["name"]);
|
||||||
@exec($shcmd);
|
@exec($shcmd);
|
||||||
|
|
||||||
# if no error, get list of directory contents and process PKGBUILD
|
# if no error, get list of directory contents and process PKGBUILD
|
||||||
|
|
Loading…
Add table
Reference in a new issue