fix typo.
[vuplus_openvuplus] / meta-openvuplus / recipes-base / autofs / autofs-4.1.4 / 070_fix_regex_typo.patch
1 #!/bin/sh /usr/share/dpatch/dpatch-run
2 ## 070_fix_regex_typo.dpatch
3 ##
4 ## DP: No description.
5
6 @DPATCH@
7
8 diff -Naur .B/samples/rc.autofs.in .A/samples/rc.autofs.in
9 --- .B/samples/rc.autofs.in     2007-01-07 21:36:35.000000000 +0000
10 +++ .A/samples/rc.autofs.in     2007-01-07 21:36:36.000000000 +0000
11 @@ -148,7 +148,7 @@
12          cat /etc/auto.master | awk '{print $0}' | sed -e '/^#/d' -e '/^$/d' | (
13          while read auto_master_in
14          do
15 -            if [ "`echo $auto_master_in | grep '^+'`" = "" ]; then
16 +            if [ "`echo $auto_master_in | grep '^\+'`" = "" ]; then
17                  echo $auto_master_in
18              else
19                  cat /etc/auto.master | grep '^\+' | sed -e '/^#/d' -e '/^$/d' | (