Remove .svn files from package
authorJamie Cameron <jcameron@webmin.com>
Wed, 18 Apr 2007 21:55:09 +0000 (21:55 +0000)
committerJamie Cameron <jcameron@webmin.com>
Wed, 18 Apr 2007 21:55:09 +0000 (21:55 +0000)
makedist.pl

index 4c8416a..2df2398 100755 (executable)
@@ -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) {