[Fai-commit] r3415 - trunk/lib

fai-repository at svn.debian.org fai-repository at svn.debian.org
Sun Apr 16 10:37:44 UTC 2006


Author: lange
Date: 2006-04-16 10:37:41 +0000 (Sun, 16 Apr 2006)
New Revision: 3415

Modified:
   trunk/lib/subroutines
Log:
minor changes


Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2006-04-15 22:43:25 UTC (rev 3414)
+++ trunk/lib/subroutines	2006-04-16 10:37:41 UTC (rev 3415)
@@ -98,7 +98,7 @@
 
     if [ -f $LOGDIR/skip.$taskname ]; then
         # skip task
-	rm $LOGDIR/skip.$taskname
+	rm $LOGDIR/skip.$taskname # TODO: remove skip files at the very end
 	[ "$verbose" ] && echo "Skiping task_$taskname"
 	sndmon "TASKSKIP $taskname"
     else
@@ -148,10 +148,9 @@
 skiptask() {
 
     # mark all given tasks, so they will be skipped
-    local tasklist="$@"
     local task
 
-    for task in $tasklist; do
+    for task in "$@"; do
 	> $LOGDIR/skip.$task
     done
 }




More information about the Fai-commit mailing list