[Lunar-commits] <lunar> create_md5sum_log: treat files properly that contain single quotes in the filename
Stefan Wold
ratler at lunar-linux.org
Fri May 31 08:54:54 CEST 2013
commit 6fcc496ca8fb7b5031a431ede5567ea1b47e8484
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Thu, 30 May 2013 23:54:05 -0700
URL: https://github.com/lunar-linux/lunar/commit/6fcc496ca8fb7b5031a431ede5567ea1b47e8484
create_md5sum_log: treat files properly that contain single quotes in the filename
---
libs/tracking.lunar | +1/-1
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/libs/tracking.lunar
+++ b/libs/tracking.lunar
@@ -91,7 +91,7 @@ create_md5sum_log() {
rm -f $MD5SUM_LOGS/$MODULE-$VERSION &> /dev/null
message "${MESSAGE_COLOR}Creating ${FILE_COLOR}$MD5SUM_LOGS/$MODULE-$VERSION${DEFAULT_COLOR}"
- IFS=$'\n' files < $INSTALL_LOGS/$MODULE-$VERSION | xargs -i 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