Changeset 95504840 for tests


Ignore:
Timestamp:
Jun 28, 2014 9:51:09 PM (6 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
a5b2f9a
Parents:
ce2694e
Message:

checkremotecerts.sh: fix regex so that commented out hosts are not matched

(" was needed and " would pass through)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/scripts/checkremotecerts.sh

    rce2694e r95504840  
    55BASEDIR="$(dirname $0)/../../"
    66cd "$BASEDIR"
    7 RESEEDHOSTS=$(sed -e '/\s\+"https:\/\/[-a-z0-9.]/!d' -e 's/.*"https:\/\/\([-a-z0-9.]\+\).*/\1/' router/java/src/net/i2p/router/networkdb/reseed/Reseeder.java)
     7RESEEDHOSTS=$(sed -e '/^\s\+"https:\/\/[-a-z0-9.]/!d' -e 's/.*"https:\/\/\([-a-z0-9.]\+\).*/\1/' router/java/src/net/i2p/router/networkdb/reseed/Reseeder.java)
    88CERTHOME="installer/resources/certificates"
    99CACERTS=$(mktemp)
Note: See TracChangeset for help on using the changeset viewer.