Code

* packaging/macosx/osx-build.sh: Add a missing '$' to a shell variable and
authormjwybrow <mjwybrow@users.sourceforge.net>
Fri, 16 Mar 2007 01:57:58 +0000 (01:57 +0000)
committermjwybrow <mjwybrow@users.sourceforge.net>
Fri, 16 Mar 2007 01:57:58 +0000 (01:57 +0000)
    correct some indenting.

packaging/macosx/osx-build.sh

index dcbb654db80b6a858ad3a53ea5b2ea3018a2e06c..ad7a2eff642fa54627a8047ee83ffc71da416956 100755 (executable)
@@ -96,32 +96,32 @@ PYTHON="f"
 while [ "$1" != "" ]
 do
        case $1 in
-               h|help)
-               help 
-                       exit 1 ;;
+       h|help)
+               help 
+               exit 1 ;;
        u|up|update)
-       SVNUPDATE="t" ;;
+               SVNUPDATE="t" ;;
        a|auto|autogen)
-       AUTOGEN="t" ;;
-               c|conf|configure)
-       CONFIGURE="t" ;;
-               b|build)
-       BUILD="t" ;;
-               i|install)
-       INSTALL="t" ;;
-               p|pack|package)
-       PACKAGE="t" ;;
-               # -p|--prefix)
-               #             INSTALLPREFIX=$2
-               #                       shift 1 ;;
-               -s|-strip)
+               AUTOGEN="t" ;;
+       c|conf|configure)
+               CONFIGURE="t" ;;
+       b|build)
+               BUILD="t" ;;
+       i|install)
+               INSTALL="t" ;;
+       p|pack|package)
+               PACKAGE="t" ;;
+       # -p|--prefix)
+               #INSTALLPREFIX=$2
+               #shift 1 ;;
+       -s|-strip)
                STRIP="t" ;;
-               -py|--with-python)
-       PYTHON="t" 
-                       PYTHONDIR=$2
-                       shift 1 ;;
+       -py|--with-python)
+               PYTHON="t" 
+               PYTHONDIR=$2
+               shift 1 ;;
        esac
-   shift 1
+       shift 1
 done
 
 
@@ -191,7 +191,7 @@ if [[ "$PACKAGE" == "t" ]]; then
        fi
        ./osx-app.sh $STRIPPARAM $INSTALLPREFIX/bin/inkscape $SRCROOT/Info.plist
 
-       if [[ "PYTHON" == "t" ]]; then
+       if [[ "$PYTHON" == "t" ]]; then
                ./osx-dmg.sh -py "$PYTHONDIR"
        else
                ./osx-dmg.sh