packages: rpm-build-tools/update.sh - translate "\n" to newlines in commit ...

pawelz pawelz at pld-linux.org
Sat Apr 3 15:41:41 CEST 2010


Author: pawelz                       Date: Sat Apr  3 13:41:41 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- translate "\n" to newlines in commit log.

---- Files affected:
packages/rpm-build-tools:
   update.sh (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/rpm-build-tools/update.sh
diff -u packages/rpm-build-tools/update.sh:1.1 packages/rpm-build-tools/update.sh:1.2
--- packages/rpm-build-tools/update.sh:1.1	Sat Apr  3 15:36:41 2010
+++ packages/rpm-build-tools/update.sh	Sat Apr  3 15:41:36 2010
@@ -90,7 +90,7 @@
 read ans
 case "$ans" in
 	[yY])
-		cvs ci -m "$LOG" ${dst[0]} ${dst[1]} ${dst[2]} ${dst[3]} ;;
+		cvs ci -m "$(printf $LOG)" ${dst[0]} ${dst[1]} ${dst[2]} ${dst[3]} ;;
 	*)
 		msg ":(" ;;
 esac
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm-build-tools/update.sh?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list