Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Handle more bad characters

  • Loading branch information...
commit f615e304bb3b6d7f1126bdfe4acc90f0eb2b0591 1 parent eeda226
@edolstra edolstra authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  maintainers/scripts/copy-tarballs.sh
View
2  maintainers/scripts/copy-tarballs.sh
@@ -18,7 +18,7 @@ for url in $urls; do
if ! echo "$base" | grep -q -E "[a-zA-Z]"; then echo "skipping $url (no letter in name)"; continue; fi
if ! echo "$base" | grep -q -E "[0-9]"; then echo "skipping $url (no digit in name)"; continue; fi
if ! echo "$base" | grep -q -E "[-_\.]"; then echo "skipping $url (no dot/underscore in name)"; continue; fi
- if echo "$base" | grep -q -E "[&?=]"; then echo "skipping $url (bad character in name)"; continue; fi
+ if echo "$base" | grep -q -E "[&?=%]"; then echo "skipping $url (bad character in name)"; continue; fi
if [ "${base:0:1}" = "." ]; then echo "skipping $url (starts with a dot)"; continue; fi
$(dirname $0)/copy-tarball.sh "$url"
Please sign in to comment.
Something went wrong with that request. Please try again.