]> git.pld-linux.org Git - packages/rc-scripts.git/blame - rc-scripts-quotation-marks.patch
- new
[packages/rc-scripts.git] / rc-scripts-quotation-marks.patch
CommitLineData
40e6f23c
AM
1Index: functions
2===================================================================
3--- rc-scripts/rc.d/init.d/functions (revision 3058)
4+++ rc-scripts/rc.d/init.d/functions (revision 3059)
5@@ -399,8 +399,8 @@
6 # elif [ -n "`$SH -c 'echo ${.sh.version}' 2>/dev/null`" ]; then
7 fi
8 while echo "$limits" | grep -q '[^ ]'; do
9- ulimit `echo ${limits} | awk '/^ *-[^-]*-.*$/ {sub(/^[^-]*-/,"");sub(/-.*$/,"");sub(/^.*$/,"-&");}{print;}'
10- limits="`echo ${limits} | awk '/^ *-[^-]*-.*$/ {sub(/^[^-]*-[^-]*/,"");}{print;}'
11+ ulimit `echo ${limits} | awk '/^ *-[^-]*-.*$/ { sub(/^[^-]*-/,""); sub(/-.*$/,""); sub(/^.*$/,"-&"); } { print; }'`
12+ limits="`echo ${limits} | awk '/^ *-[^-]*-.*$/ { sub(/^[^-]*-[^-]*/,""); } { print; }'`"
13 done
14
15 # And start it up.
This page took 0.049284 seconds and 4 git commands to generate.