]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-quotation-marks.patch
- instead fixing quotation revert whole change
[packages/rc-scripts.git] / rc-scripts-quotation-marks.patch
1 Index: functions
2 ===================================================================
3 --- rc-scripts/rc.d/init.d/functions    (revision 3049)
4 +++ rc-scripts/rc.d/init.d/functions    (working copy)
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} | sed -e 's/^ *\(-[^-]*\)\(-.*\)\?$/\1/'`
12 +               limits="`echo ${limits} | sed -e 's/^ *\(-[^-]*\)\(-.*\)\?$/\2/'`"
13         done
14  
15         # And start it up.
This page took 0.264616 seconds and 3 git commands to generate.