aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-funcs
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-05 00:01:25 +0100
committerLoïc Minier <lool@dooz.org>2010-01-05 00:01:25 +0100
commit451ead17ded7acd2a0c530bb9d64ac669e2ed5b0 (patch)
tree89446e3ca8ad4aefc0c26850a029fee1688d3beb /pbuilder-satisfydepends-funcs
parent382834391ba82f745024a2cdbb66cf8edfbfd12d (diff)
downloadpbuilder-451ead17ded7acd2a0c530bb9d64ac669e2ed5b0.tar
pbuilder-451ead17ded7acd2a0c530bb9d64ac669e2ed5b0.tar.gz
Normalize and test arch specifiers
Diffstat (limited to 'pbuilder-satisfydepends-funcs')
-rwxr-xr-xpbuilder-satisfydepends-funcs5
1 files changed, 5 insertions, 0 deletions
diff --git a/pbuilder-satisfydepends-funcs b/pbuilder-satisfydepends-funcs
index 78fb683..9627430 100755
--- a/pbuilder-satisfydepends-funcs
+++ b/pbuilder-satisfydepends-funcs
@@ -75,6 +75,11 @@ s/ *| */ | /g
# normalize space before and after parentheses
s/ *( */ (/g
s/ *) */)/g
+# normalize space before and after brackets
+s/ *\[ */ [/g
+s/ *\] */]/g
+# normalize space after exclamation mark
+s/! */!/g
# normalize space between operator and version
s/(\(>>\|>=\|>\|==\|=\|<=\|<<\|<\|!=\) *\([^)]*\))/(\1 \2)/g
# normalize space at beginning and end of line