summaryrefslogtreecommitdiffstats
path: root/check-multiarch-files
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-03-10 11:14:37 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-03-10 11:14:37 +0000
commitdec37f6d9925fb9e2e07d1f320fcff42bf60e95b (patch)
treef60d86ea7b3b1183a20a7a7a64abd0506522e1f6 /check-multiarch-files
parent36e398177ae836dfbec7563376c1c3315e43cb28 (diff)
downloadmultiarch-utils-dec37f6d9925fb9e2e07d1f320fcff42bf60e95b.tar
multiarch-utils-dec37f6d9925fb9e2e07d1f320fcff42bf60e95b.tar.gz
multiarch-utils-dec37f6d9925fb9e2e07d1f320fcff42bf60e95b.tar.bz2
multiarch-utils-dec37f6d9925fb9e2e07d1f320fcff42bf60e95b.tar.xz
multiarch-utils-dec37f6d9925fb9e2e07d1f320fcff42bf60e95b.zip
quotemeta RPM_BUILD_ROOT in regexp
Diffstat (limited to 'check-multiarch-files')
-rwxr-xr-xcheck-multiarch-files2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-multiarch-files b/check-multiarch-files
index c9fadab..713a151 100755
--- a/check-multiarch-files
+++ b/check-multiarch-files
@@ -23,7 +23,7 @@ while (<STDIN>) {
# File must be located in the usual development directories
-f $_ or next;
- m,^$RPM_BUILD_ROOT/usr(/X11R6)?/(bin|include)/, or next;
+ m,^\Q$RPM_BUILD_ROOT\E/usr(/X11R6)?/(bin|include)/, or next;
m,/multiarch-.+-\w+/, and next;
m,/include/asm, and next;