Remove .svn files from package

This commit is contained in:
Jamie Cameron
2007-04-18 21:55:09 +00:00
parent 23c100c8bb
commit 64580ce549

View File

@@ -141,7 +141,7 @@ closedir(DIR);
# Remove useless .bak, test and other files, and create the tar.gz file
print "Creating webmin-$vfile.tar.gz\n";
system("find $tardir/$dir -name '*.bak' -o -name test -o -name '*.tmp' -o -name '*.site' -o -name core -o -name .xvpics | xargs rm -rf");
system("find $tardir/$dir -name '*.bak' -o -name test -o -name '*.tmp' -o -name '*.site' -o -name core -o -name .xvpics -o -name .svn | xargs rm -rf");
system("cd $tardir ; tar cvhf - $dir 2>/dev/null | gzip -c >webmin-$vfile.tar.gz");
if (!$min && -d $zipdir) {