]> git.saurik.com Git - wxWidgets.git/blobdiff - distrib/scripts/create_archives.sh
include autopackage-related files
[wxWidgets.git] / distrib / scripts / create_archives.sh
index 09a4971e6494db566f31d0236e2980730d7275d4..b07a0640d52ed156e995e89981076368b1a3e897 100755 (executable)
@@ -115,16 +115,18 @@ dospinport(){
     port=$1
     
     case "$port" in
-       all)
-          portname=Widgets;;
-       base)
-          portname=Base;;
-       motif)
-          portname=Motif;;
-       mac)
-          portname=Mac;;
-       *)
-          portname=echo $port | tr [a-z] [A-Z];;
+        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..."