aboutsummaryrefslogtreecommitdiffstats
path: root/main/util-vserver/bb-grep.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-02-23 08:53:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-02-23 08:53:47 +0000
commit4e4dd323e49e316fa2a38299b73b059648864906 (patch)
tree844079663874741a82e87dbfdf8c74c76a439ccc /main/util-vserver/bb-grep.patch
parentb78e2f6b5eb7ce82cd896582104f7bc75d7a2fdc (diff)
downloadaports-4e4dd323e49e316fa2a38299b73b059648864906.tar.bz2
aports-4e4dd323e49e316fa2a38299b73b059648864906.tar.xz
main/util-vserver: upgrade to 0.30.216_pre2935 and fix for bb grep
fixes #516
Diffstat (limited to 'main/util-vserver/bb-grep.patch')
-rw-r--r--main/util-vserver/bb-grep.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/util-vserver/bb-grep.patch b/main/util-vserver/bb-grep.patch
new file mode 100644
index 0000000000..e4e2101d31
--- /dev/null
+++ b/main/util-vserver/bb-grep.patch
@@ -0,0 +1,11 @@
+--- ./scripts/functions.orig
++++ ./scripts/functions
+@@ -542,7 +542,7 @@
+ (STOPPED) ! $_VSERVER "$_ga_i" running &>/dev/null || _ga_doadd=;;
+ (RUNNING) $_VSERVER "$_ga_i" running &>/dev/null || _ga_doadd=;;
+ (ALL) ;;
+- (MARK) test -s "$_ga_markfile" && grep -qx "$3" "$_ga_markfile" || _ga_doadd=;;
++ (MARK) test -s "$_ga_markfile" && grep -q "^$3$" "$_ga_markfile" || _ga_doadd=;;
+ (*) panic $"Unknown vserver tagging '$2'";;
+ esac
+