[Lunar-commits] r22069 - lunar/trunk/var/lib/lunar/functions

Auke Kok sofar at lunar-linux.org
Sun Nov 5 22:50:00 CET 2006


Author: sofar
Date: 2006-11-05 22:50:00 +0100 (Sun, 05 Nov 2006)
New Revision: 22069

Modified:
   lunar/trunk/var/lib/lunar/functions/tracking.lunar
Log:
Make sure we split by lines here - fixes md5sum creation for filenames with spaces.


Modified: lunar/trunk/var/lib/lunar/functions/tracking.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/tracking.lunar	2006-11-05 21:38:27 UTC (rev 22068)
+++ lunar/trunk/var/lib/lunar/functions/tracking.lunar	2006-11-05 21:50:00 UTC (rev 22069)
@@ -98,7 +98,7 @@
   rm -f $MD5SUM_LOGS/$MODULE-$VERSION &> /dev/null
   message "${MESSAGE_COLOR}Creating ${FILE_COLOR}$MD5SUM_LOGS/$MODULE-$VERSION${DEFAULT_COLOR}"
 
-  files < $INSTALL_LOGS/$MODULE-$VERSION | xargs md5sum >> $MD5SUM_LOGS/$MODULE-$VERSION
+  IFS=$'\n' files < $INSTALL_LOGS/$MODULE-$VERSION | xargs -d '\n' md5sum >> $MD5SUM_LOGS/$MODULE-$VERSION
 }
 
 create_install_cache() {



More information about the Lunar-commits mailing list