]> git.saurik.com Git - wxWidgets.git/blobdiff - distrib/scripts/create_archives.sh
added collpane sample
[wxWidgets.git] / distrib / scripts / create_archives.sh
index ca00468b28fa30781bc4b6d2756efdb537c32e5a..b07a0640d52ed156e995e89981076368b1a3e897 100755 (executable)
@@ -114,11 +114,20 @@ doinit()
 dospinport(){
     port=$1
     
-    if [ $port != "all" ]; then
-        portname="`echo $port|tr '[a-z]' '[A-Z]'`"    
-    else
-        portname="Widgets"
-    fi
+    case "$port" in
+        all)
+            portname="Widgets";;
+        base)
+            portname="Base";;
+        motif)
+            portname="Motif";;
+        mac)
+            portname="Mac";;
+        *)
+            # for all the others (DFB, GTK, MGL, MSW, X11) just use the
+            # upper-case version as they are abbreviations
+            portname=`echo $port | tr '[a-z]' '[A-Z]'`;;
+    esac
     
     echo "Creating wx$portname distribution..."