buildrelease will check for docs subdirectory in /root/docs/ and copy that to

the tarball.
This commit is contained in:
tonnesen 2002-06-26 20:59:23 +00:00
parent 133eea0728
commit e76bc3147e
1 changed files with 8 additions and 0 deletions

View File

@ -253,6 +253,14 @@ system("find $rootdir -name CVS -exec rm -rf \\{\\} \\; 2>/dev/null");
system("find $rootdir -name *~ -exec rm -rf \\{\\} \\; 2>/dev/null");
system("find $rootdir -name .#* -exec rm -rf \\{\\} \\; 2>/dev/null");
if (-e "/root/docs") {
print "Copying docs folder from /root/docs...";
system("cp /root/docs/* $rootdir/docs/");
} else {
print "I would have copied the docs from from /root/docs, but I couldn't find it.\n";
print "Press <ENTER> to continue...\n";
<STDIN>;
}
chdir("/tmp");
system("tar czf /tmp/koha-$releaseversion.tar.gz koha-".$releaseversion);