[packages/adapter: 11/631] - fixed one regexp
glen
glen at pld-linux.org
Mon Sep 12 19:35:23 CEST 2016
commit 16c392475d5bc92841ed9f2c8781eb9e0268760a
Author: Sebastian Zagrodzki <sebek at zagrodzki.net>
Date: Wed Dec 15 08:55:14 1999 +0000
- fixed one regexp
Changed files:
adapter.awk -> 1.11
adapter.awk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index a0cf90a..92a086a 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -109,8 +109,8 @@ bof == 1 {
# 'gzip -9nf' for compressing
if ($1 ~ /gzip|bzip2/) {
- if ($2 ~ /^-/)
- sub(/-[A-Za-z0-9]+ /, "", $0);
+ if ($2 ~ /^-[[:alnum:]]+/)
+ sub(/-[[:alnum:]]+ /, "", $0);
sub($1, "gzip -9nf");
}
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list