flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/3] git commit: [flex-sdk] [refs/heads/develop] - Changed `dirname $0` to `dirname "$0"` to support paths with spaces
Date Mon, 04 Jan 2016 23:39:03 GMT
Repository: flex-sdk
Updated Branches:
  refs/heads/develop 947a8329a -> 36818643e


Changed `dirname $0` to `dirname "$0"` to support paths with spaces


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/0b5b2922
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/0b5b2922
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/0b5b2922

Branch: refs/heads/develop
Commit: 0b5b29226d96c4ebf5da07438e029e00166db9c7
Parents: 7738c75
Author: Andy Dufilie <andrew.dufilie@iweave.com>
Authored: Thu Dec 24 15:51:06 2015 -0500
Committer: Andy Dufilie <andrew.dufilie@iweave.com>
Committed: Thu Dec 24 15:54:01 2015 -0500

----------------------------------------------------------------------
 bin/asc                            | 4 ++--
 bin/asdoc                          | 2 +-
 bin/compc                          | 2 +-
 bin/copylocale                     | 2 +-
 bin/digest                         | 2 +-
 bin/fcsh                           | 2 +-
 bin/fdb                            | 2 +-
 bin/fontswf                        | 4 ++--
 bin/mxmlc                          | 2 +-
 bin/optimizer                      | 2 +-
 bin/swcdepends                     | 2 +-
 bin/swfdump                        | 4 ++--
 modules/thirdparty/batik/build.xml | 2 +-
 13 files changed, 16 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/asc
----------------------------------------------------------------------
diff --git a/bin/asc b/bin/asc
index 09c88c6..6ff1dde 100755
--- a/bin/asc
+++ b/bin/asc
@@ -34,7 +34,7 @@ esac
 if [ $OS = "Windows" ]; then
 	# set FLEX_HOME relative to fdb if not set
 	test "$FLEX_HOME" = "" && {
-    	FLEX_HOME=`dirname $0`/..
+    	FLEX_HOME=`dirname "$0"`/..
     	FLEX_HOME=`cygpath -m $FLEX_HOME`
 	}
 
@@ -46,7 +46,7 @@ fi
 if [ $OS = "Unix" ]; then
 	# set FLEX_HOME relative to fdb if not set
 	test "$FLEX_HOME" = "" && {
-    	FLEX_HOME=`dirname $0`/..
+    	FLEX_HOME=`dirname "$0"`/..
 	}
 
 	VMARGS="-ea -Dapplication.home=$FLEX_HOME -Xms32m -Xmx384m"

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/asdoc
----------------------------------------------------------------------
diff --git a/bin/asdoc b/bin/asdoc
index 0b74986..9f0b2cf 100755
--- a/bin/asdoc
+++ b/bin/asdoc
@@ -42,7 +42,7 @@ D32=''
 if [ $OS = "Windows" ]; then
     # set FLEX_HOME relative to asdoc if not set
     test "$FLEX_HOME" = "" && {
-        FLEX_HOME=`dirname $0`/..
+        FLEX_HOME=`dirname "$0"`/..
         FLEX_HOME=`cygpath -m $FLEX_HOME`
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/compc
----------------------------------------------------------------------
diff --git a/bin/compc b/bin/compc
index 476fd31..ddd014c 100755
--- a/bin/compc
+++ b/bin/compc
@@ -42,7 +42,7 @@ D32=''
 if [ $OS = "Windows" ]; then
     # set FLEX_HOME relative to compc if not set
     test "$FLEX_HOME" = "" && {
-        FLEX_HOME=`dirname $0`/..
+        FLEX_HOME=`dirname "$0"`/..
         FLEX_HOME=`cygpath -m $FLEX_HOME`
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/copylocale
----------------------------------------------------------------------
diff --git a/bin/copylocale b/bin/copylocale
index c48ed6b..f793b20 100755
--- a/bin/copylocale
+++ b/bin/copylocale
@@ -36,7 +36,7 @@ D32=''
 if [ $OS = "Windows" ]; then
     # set FLEX_HOME relative to copylocale if not set
     test "$FLEX_HOME" = "" && {
-        FLEX_HOME=`dirname $0`/..
+        FLEX_HOME=`dirname "$0"`/..
         FLEX_HOME=`cygpath -m $FLEX_HOME`
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/digest
----------------------------------------------------------------------
diff --git a/bin/digest b/bin/digest
index 055d01b..5cade68 100755
--- a/bin/digest
+++ b/bin/digest
@@ -36,7 +36,7 @@ D32=''
 if [ $OS = "Windows" ]; then
     # set FLEX_HOME relative to digest if not set
     test "$FLEX_HOME" = "" && {
-        FLEX_HOME=`dirname $0`/..
+        FLEX_HOME=`dirname "$0"`/..
         FLEX_HOME=`cygpath -m $FLEX_HOME`
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/fcsh
----------------------------------------------------------------------
diff --git a/bin/fcsh b/bin/fcsh
index 28ece27..20c4482 100755
--- a/bin/fcsh
+++ b/bin/fcsh
@@ -36,7 +36,7 @@ D32=''
 if [ $OS = "Windows" ]; then
     # set FLEX_HOME relative to fcsh if not set
     test "$FLEX_HOME" = "" && {
-        FLEX_HOME=`dirname $0`/..
+        FLEX_HOME=`dirname "$0"`/..
         FLEX_HOME=`cygpath -m $FLEX_HOME`
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/fdb
----------------------------------------------------------------------
diff --git a/bin/fdb b/bin/fdb
index beb415d..b11b962 100755
--- a/bin/fdb
+++ b/bin/fdb
@@ -36,7 +36,7 @@ D32=''
 if [ $OS = "Windows" ]; then
     # set FLEX_HOME relative to fdb if not set
     test "$FLEX_HOME" = "" && {
-        FLEX_HOME=`dirname $0`/..
+        FLEX_HOME=`dirname "$0"`/..
         FLEX_HOME=`cygpath -m $FLEX_HOME`
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/fontswf
----------------------------------------------------------------------
diff --git a/bin/fontswf b/bin/fontswf
index 8265241..fc5bbae 100755
--- a/bin/fontswf
+++ b/bin/fontswf
@@ -34,7 +34,7 @@ esac
 if [ $OS = "Windows" ]; then
 	# set FLEX_HOME relative to fontswf if not set
 	test "$FLEX_HOME" = "" && {
-	FLEX_HOME=`dirname $0`/..
+	FLEX_HOME=`dirname "$0"`/..
     	FLEX_HOME=`cygpath -m $FLEX_HOME`
 	}
 
@@ -42,7 +42,7 @@ elif [ $OS = "Unix" ]; then
 
 	# set FLEX_HOME relative to fontswf if not set
 	test "$FLEX_HOME" = "" && {
-	FLEX_HOME=`dirname $0`/..
+	FLEX_HOME=`dirname "$0"`/..
 	}
 
 fi

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/mxmlc
----------------------------------------------------------------------
diff --git a/bin/mxmlc b/bin/mxmlc
index 811a41e..6e59b50 100755
--- a/bin/mxmlc
+++ b/bin/mxmlc
@@ -42,7 +42,7 @@ D32=''
 if [ $OS = "Windows" ]; then
     # set FLEX_HOME relative to mxmlc if not set
     test "$FLEX_HOME" = "" && {
-        FLEX_HOME=`dirname $0`/..
+        FLEX_HOME=`dirname "$0"`/..
         FLEX_HOME=`cygpath -m $FLEX_HOME`
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/optimizer
----------------------------------------------------------------------
diff --git a/bin/optimizer b/bin/optimizer
index e40a4d4..90d1373 100755
--- a/bin/optimizer
+++ b/bin/optimizer
@@ -36,7 +36,7 @@ D32=''
 if [ $OS = "Windows" ]; then
     # set FLEX_HOME relative to optimizer if not set
     test "$FLEX_HOME" = "" && {
-        FLEX_HOME=`dirname $0`/..
+        FLEX_HOME=`dirname "$0"`/..
         FLEX_HOME=`cygpath -m $FLEX_HOME`
     }
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/swcdepends
----------------------------------------------------------------------
diff --git a/bin/swcdepends b/bin/swcdepends
index e4ff00b..bef85d4 100755
--- a/bin/swcdepends
+++ b/bin/swcdepends
@@ -34,7 +34,7 @@ esac
 if [ $OS = "Windows" ]; then
 	# set FLEX_HOME relative to swcdepends if not set
 	test "$FLEX_HOME" = "" && {
-	FLEX_HOME=`dirname $0`/..
+	FLEX_HOME=`dirname "$0"`/..
     	FLEX_HOME=`cygpath -m $FLEX_HOME`
 	}
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/bin/swfdump
----------------------------------------------------------------------
diff --git a/bin/swfdump b/bin/swfdump
index 2529472..cb71172 100755
--- a/bin/swfdump
+++ b/bin/swfdump
@@ -36,7 +36,7 @@ D32=''
 if [ $OS = "Windows" ]; then
     # set FLEX_HOME relative to swfdump if not set
     test "$FLEX_HOME" = "" && {
-        FLEX_HOME=`dirname $0`/..
+        FLEX_HOME=`dirname "$0"`/..
         FLEX_HOME=`cygpath -m $FLEX_HOME`
     }
 
@@ -44,7 +44,7 @@ elif [ $OS = "Unix" ]; then
 
     # set FLEX_HOME relative to swfdump if not set
     test "$FLEX_HOME" = "" && {
-    FLEX_HOME=`dirname $0`/..
+    FLEX_HOME=`dirname "$0"`/..
     }
 
     check64="`java -version 2>&1 | grep -i 64-Bit`"

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0b5b2922/modules/thirdparty/batik/build.xml
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/build.xml b/modules/thirdparty/batik/build.xml
index c567b14..8f93fee 100644
--- a/modules/thirdparty/batik/build.xml
+++ b/modules/thirdparty/batik/build.xml
@@ -538,7 +538,7 @@ To display the available targets type:
 JAVA=/usr/bin/java
 [ -e "$JAVA_HOME/bin/java" ] && JAVA="$JAVA_HOME/bin/java"
 
-"$JAVA" -Dcom.apple.mrj.application.apple.menu.about.name=Squiggle -jar "`dirname $0`/../Resources/batik-squiggle.jar"
+"$JAVA" -Dcom.apple.mrj.application.apple.menu.about.name=Squiggle -jar "`dirname "$0"`/../Resources/batik-squiggle.jar"
 ]]></echo>
     <chmod perm="a+x" file="${app}/Contents/MacOS/Squiggle"/>
     <copy todir="${app}/Contents/Resources">


Mime
View raw message