You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2012/10/03 21:44:30 UTC

svn commit: r1393724 - /incubator/flex/sdk/branches/develop/mustella/scripts/shellrunner.sh

Author: cframpton
Date: Wed Oct  3 19:44:29 2012
New Revision: 1393724

URL: http://svn.apache.org/viewvc?rev=1393724&view=rev
Log:
Fix buglet that has been annoying me for days.  Will no longer print 'skipping  not found' when  is empty string.

Modified:
    incubator/flex/sdk/branches/develop/mustella/scripts/shellrunner.sh

Modified: incubator/flex/sdk/branches/develop/mustella/scripts/shellrunner.sh
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/scripts/shellrunner.sh?rev=1393724&r1=1393723&r2=1393724&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/scripts/shellrunner.sh (original)
+++ incubator/flex/sdk/branches/develop/mustella/scripts/shellrunner.sh Wed Oct  3 19:44:29 2012
@@ -50,12 +50,15 @@ if [ $ret != 0 ]
 fi
 
 
-if [ -f $file ] && [ "$file" != "" ]
-	then
-	echo "next: $file $i"
-	./$file > ${file}.${i}.log 2>&1 &
-else
-	echo "skipping $file not found"
+if [ "$file" != ""  ]
+then
+    if [ -f $file ]
+    then
+    	echo "next: $file $i"
+    	./$file > ${file}.${i}.log 2>&1 &
+    else
+    	echo "skipping $file not found"
+    fi
 fi