SVN: rc-scripts/trunk/lib/functions
glen
glen at pld-linux.org
Sat Jul 27 12:55:42 CEST 2013
Author: glen
Date: Sat Jul 27 12:55:41 2013
New Revision: 12712
Modified:
rc-scripts/trunk/lib/functions
Log:
fix pdksh incompatibility of ok/fail printing
Modified: rc-scripts/trunk/lib/functions
==============================================================================
--- rc-scripts/trunk/lib/functions (original)
+++ rc-scripts/trunk/lib/functions Sat Jul 27 12:55:41 2013
@@ -462,7 +462,7 @@
}
ok() {
- echo -ne "$_ok${RC_FEDORA+\r}${RC_FEDORA-\n}"
+ echo -ne "$_ok${RC_FEDORA+\\r}${RC_FEDORA-\\n}"
}
started() {
@@ -470,7 +470,7 @@
}
fail() {
- echo -ne "$_fail${RC_FEDORA+\r}${RC_FEDORA-\n}"
+ echo -ne "$_fail${RC_FEDORA+\\r}${RC_FEDORA-\\n}"
return 1
}
More information about the pld-cvs-commit
mailing list