]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-quotation-marks.patch
- new
[packages/rc-scripts.git] / rc-scripts-quotation-marks.patch
1 Index: 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.024393 seconds and 4 git commands to generate.