]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- instead fixing quotation revert whole change auto/ac/rc-scripts-0_4_0_6-0_2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 21 Dec 2003 22:57:16 +0000 (22:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts-quotation-marks.patch -> 1.2

rc-scripts-quotation-marks.patch

index e62621f901b70687e3c5d39e3146b76dd22eba19..137b71c42b386765cdd470d09025ea3fc11515f9 100644 (file)
@@ -1,15 +1,15 @@
 Index: functions
 ===================================================================
---- rc-scripts/rc.d/init.d/functions   (revision 3058)
-+++ rc-scripts/rc.d/init.d/functions   (revision 3059)
+--- rc-scripts/rc.d/init.d/functions   (revision 3049)
++++ rc-scripts/rc.d/init.d/functions   (working copy)
 @@ -399,8 +399,8 @@
  #     elif [ -n "`$SH -c 'echo ${.sh.version}' 2>/dev/null`" ]; then
        fi
        while echo "$limits" | grep -q '[^ ]'; do
 -              ulimit `echo ${limits} | awk '/^ *-[^-]*-.*$/ {sub(/^[^-]*-/,"");sub(/-.*$/,"");sub(/^.*$/,"-&");}{print;}'
 -              limits="`echo ${limits} | awk '/^ *-[^-]*-.*$/ {sub(/^[^-]*-[^-]*/,"");}{print;}'
-+              ulimit `echo ${limits} | awk '/^ *-[^-]*-.*$/ { sub(/^[^-]*-/,""); sub(/-.*$/,""); sub(/^.*$/,"-&"); } { print; }'`
-+              limits="`echo ${limits} | awk '/^ *-[^-]*-.*$/ { sub(/^[^-]*-[^-]*/,""); } { print; }'`"
++              ulimit `echo ${limits} | sed -e 's/^ *\(-[^-]*\)\(-.*\)\?$/\1/'`
++              limits="`echo ${limits} | sed -e 's/^ *\(-[^-]*\)\(-.*\)\?$/\2/'`"
        done
  
        # And start it up.
This page took 0.07485 seconds and 4 git commands to generate.