flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1393724 - /incubator/flex/sdk/branches/develop/mustella/scripts/shellrunner.sh
Date Wed, 03 Oct 2012 19:44:30 GMT
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
 	
 



Mime
View raw message