system('/bin/rm -rf ' . escapeshellarg($tmpdir));
}
-# like make_tar above, except it includes a copy of code/wfpl
+# like make_tar above, except it includes a copy of wfpl
function make_wfpl_tar($dirname, $files) {
make_tar($dirname, $files, 'add_wfpl_dir');
}
function add_wfpl_dir($dir) {
mkdir("$dir/code");
- system("rsync -plr --exclude=\".git\" --exclude=\"*.swp\" 'code/wfpl/' '$dir/code/wfpl/'", $return_code);
+ system("rsync -plr --exclude=\".git\" --exclude=\"*.swp\" 'inc/wfpl/' '$dir/inc/wfpl/'", $return_code);
if($return_code != 0) {
die("ERROR: while trying to copy wfpl into archive: rsync returned $return_code");
}