]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/makerpm
Don't create the fonts until after they are needed (after the App
[wxWidgets.git] / wxPython / distrib / makerpm
index 667c79fc2921a87a020bc0101ac5b5ed488bca90..3bc3a4d7553bad21adeb8115c9693b0b20c997d0 100755 (executable)
@@ -49,7 +49,7 @@ function usage {
 #    echo "   smp            Add SMP=2 to the envivonment to speed wxGTK build"
 }
 
-if [ $# -lt 2 ]; then
+if [ $# -lt 1 ]; then
     usage
     exit 1
 fi
@@ -177,6 +177,8 @@ if [ -z "${skipcopy}" ]; then
     rm locale/*.mo
     cleanup ".#*"
     cleanup "*~"
+    cleanup "*.orig"
+    cleanup "*.rej"
     cleanup "*.pyc"
     cleanup core
     cleanup "core.[0-9]*"