[Lunar-commits] <lunar> Backport fix: md5sum of filenames with spaces

Auke Kok sofar at lunar-linux.org
Mon Jul 2 04:43:07 CEST 2012


commit f938cf7348b442d53710410e4c0ca52d34d0113b
Author: Auke Kok <sofar at lunar-linux.org>
Date:   Sun Jul 31 16:00:39 2005 +0000

    Backport fix: md5sum of filenames with spaces
---
 var/lib/lunar/functions/tracking.lunar |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/var/lib/lunar/functions/tracking.lunar b/var/lib/lunar/functions/tracking.lunar
index 6f19979..df6c4e1 100644
--- a/var/lib/lunar/functions/tracking.lunar
+++ b/var/lib/lunar/functions/tracking.lunar
@@ -100,7 +100,7 @@ create_md5sum_log()  {
   message "${MESSAGE_COLOR}Creating ${FILE_COLOR}$MD5SUM_LOGS/$MODULE-$VERSION${DEFAULT_COLOR}"
 
   files < $INSTALL_LOGS/$MODULE-$VERSION | while read FILE ; do
-    md5sum $FILE >> $MD5SUM_LOGS/$MODULE-$VERSION
+    md5sum "$FILE" >> $MD5SUM_LOGS/$MODULE-$VERSION
   done
 
 }


More information about the Lunar-commits mailing list