Rev 256 | Rev 259 | ||
---|---|---|---|
Line 60... | Line 60... | ||
60 | if (empty($arcname)) |
60 | if (empty($arcname)) |
61 | $arcname = $rep->name; |
61 | $arcname = $rep->name; |
62 | |
62 | |
63 | $svnrep->exportDirectory($path, $tmpname.DIRECTORY_SEPARATOR.$arcname, $rev); |
63 | $svnrep->exportDirectory($path, $tmpname.DIRECTORY_SEPARATOR.$arcname, $rev); |
64 | |
64 | |
65 | //echo "*** &config ***"; |
65 | echo "*** &arcname ***"; |
66 | // Create the tar file |
66 | // Create the tar file |
67 | chdir($tmpname); |
67 | chdir($tmpname); |
68 | exec($config->tar." -cf ".quote("$arcname.tar")." ".quote($arcname)); |
68 | exec($config->tar." -cf ".quote("$arcname.tar")." ".quote($arcname)); |
69 | |
69 | |
70 | // ZIP it up |
70 | // ZIP it up |