[Fai-commit] r6023 - in branches/stable/3.4: debian lib

Michael Prokop mika at alioth.debian.org
Tue Aug 17 12:57:21 UTC 2010


Author: mika
Date: 2010-08-17 12:57:17 +0000 (Tue, 17 Aug 2010)
New Revision: 6023

Modified:
   branches/stable/3.4/debian/changelog
   branches/stable/3.4/lib/get-config-dir-svn
Log:
* fai-mirror: use $mirrordir if no argument given (closes: #428597) * get-config-dir-svn: use exit code of first command of pipe (closes: #557544)


Signed-off-by: Michael Prokop <mika at grml.org>

Modified: branches/stable/3.4/debian/changelog
===================================================================
--- branches/stable/3.4/debian/changelog	2010-08-17 12:57:10 UTC (rev 6022)
+++ branches/stable/3.4/debian/changelog	2010-08-17 12:57:17 UTC (rev 6023)
@@ -86,6 +86,9 @@
   * disk_config: use UUID's in fstab
   * fai: cleanup code
   * make-fai-nfsroot: force creating of symlinks (closes: #588009)
+  * fai-mirror: use $mirrordir if no argument given (closes: #428597)
+  * get-config-dir-svn: use exit code of first command of pipe
+    (closes: #557544)
     
   [ Michael Tautschnig ]
   * control: Move setup-storage to its own package (fai-setup-storage). Thanks

Modified: branches/stable/3.4/lib/get-config-dir-svn
===================================================================
--- branches/stable/3.4/lib/get-config-dir-svn	2010-08-17 12:57:10 UTC (rev 6022)
+++ branches/stable/3.4/lib/get-config-dir-svn	2010-08-17 12:57:17 UTC (rev 6023)
@@ -54,9 +54,9 @@
    echo "Updating SVN in $FAI"
    cd $FAI
    svn up $user $pass | grep -v 'Updated to revision' > $LOGDIR/getconf.log
-   task_error 701 $?
+   task_error 701 ${PIPESTATUS[0]}
 else 
    echo "Checking out SVN"
    svn co $user $pass $svnurl $FAI | grep -v 'Checked out revision' > $LOGDIR/getconf.log
-   task_error 702 $?
+   task_error 702 ${PIPESTATUS[0]}
 fi




More information about the Fai-commit mailing list