[Fai-commit] r4484 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Sun Aug 5 19:34:47 UTC 2007


Author: lange
Date: 2007-08-05 19:34:47 +0000 (Sun, 05 Aug 2007)
New Revision: 4484

Modified:
   trunk/bin/fai-do-scripts
Log:
add new strings for shell scripts (closes: #416616)


Modified: trunk/bin/fai-do-scripts
===================================================================
--- trunk/bin/fai-do-scripts	2007-08-05 17:32:12 UTC (rev 4483)
+++ trunk/bin/fai-do-scripts	2007-08-05 19:34:47 UTC (rev 4484)
@@ -26,7 +26,7 @@
 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #*********************************************************************
 
-version="version 1.5.2, 5-aug-2007"
+version="version 1.5.3, 5-aug-2007"
 
 # variables needed: $classes, $cfclasses, $LOGDIR
 # 
@@ -95,7 +95,7 @@
 
     shelldebug=
     case $filetype in
-	*"Bourne shell script"*)
+	*"POSIX shell script"*|*"Bourne shell script"*)
 	    [ "$debug" ] && shelldebug="sh -x" ;;
 	*"Bourne-Again shell script"*)
 	    [ "$debug" ] && shelldebug="bash -x" ;;
@@ -103,7 +103,7 @@
 
     case $filetype in
 
-	*"executable shell script"*|*"/bash script"*|*"Bourne shell script"*|*"Bourne-Again shell script"*)
+	*"POSIX shell script"*|*"executable shell script"*|*"/bash script"*|*"Bourne shell script"*|*"Bourne-Again shell script"*)
 	    echo "Executing   $shelldebug shell: $file"
 	    echo "=====   shell: $file   =====" >> $LOGDIR/shell.log 2>&1
 	    $shelldebug ./$file >> $LOGDIR/shell.log 2>&1




More information about the Fai-commit mailing list