[Fai-commit] r5903 - in trunk: debian lib
Thomas Lange
lange at alioth.debian.org
Thu Jul 29 02:36:44 UTC 2010
Author: lange
Date: 2010-07-29 02:36:43 +0000 (Thu, 29 Jul 2010)
New Revision: 5903
Modified:
trunk/debian/changelog
trunk/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)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2010-07-29 01:37:04 UTC (rev 5902)
+++ trunk/debian/changelog 2010-07-29 02:36:43 UTC (rev 5903)
@@ -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: trunk/lib/get-config-dir-svn
===================================================================
--- trunk/lib/get-config-dir-svn 2010-07-29 01:37:04 UTC (rev 5902)
+++ trunk/lib/get-config-dir-svn 2010-07-29 02:36:43 UTC (rev 5903)
@@ -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