]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- fixed bug
authorpzurowski <pzurowski@pld-linux.org>
Tue, 23 Dec 2003 18:14:15 +0000 (18:14 +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.4

rc-scripts-quotation-marks.patch

index 071c2fc16c3643272c83d3f4760dcc2b5dda102e..734f476a87c3701245595bd7afa35e69fbf5076d 100644 (file)
@@ -1,7 +1,7 @@
 Index: rc.d/init.d/functions
 ===================================================================
 --- rc.d/init.d/functions      (revision 3049)
-+++ rc.d/init.d/functions      (revision 3062)
++++ rc.d/init.d/functions      (revision 3062/5)
 @@ -398,10 +398,8 @@
                limits="${SERVICE_LIMITS:-$DEFAULT_SERVICE_LIMITS}"
  #     elif [ -n "`$SH -c 'echo ${.sh.version}' 2>/dev/null`" ]; then
@@ -11,7 +11,7 @@ Index: rc.d/init.d/functions
 -              limits="`echo ${limits} | awk '/^ *-[^-]*-.*$/ {sub(/^[^-]*-[^-]*/,"");}{print;}'
 -      done
 +      
-+      echo $limits|awk 'BEGIN {RS="-";} !/^$/ {system ("ulimit -" $0);}'
++      echo $limits|awk 'BEGIN {RS="[-\n]";} !/^$/ {system ("ulimit -" $0);}'
  
        # And start it up.
        busy
This page took 0.123269 seconds and 4 git commands to generate.