From: Ben Pfaff Date: Wed, 20 May 2009 16:17:04 +0000 (-0700) Subject: ovs-pki: Fix bashism. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50182848c16b54313810985b55ed3b23b6222901;p=openvswitch ovs-pki: Fix bashism. Thanks to Nicolas Perrenoud for reporting the problem. --- diff --git a/utilities/ovs-pki.in b/utilities/ovs-pki.in index 2e288a95..43c0f624 100755 --- a/utilities/ovs-pki.in +++ b/utilities/ovs-pki.in @@ -303,8 +303,7 @@ resolve_prefix() { ;; esac - fingerprint=$(cd "$pkidir/${type}ca/incoming" && echo "$1"*-req.pem - | sed 's/-req\.pem$//') + fingerprint=$(cd "$pkidir/${type}ca/incoming" && echo "$1"*-req.pem | sed 's/-req\.pem$//') case $fingerprint in "${1}*") echo "No certificate requests matching $1"