ovs-pki: Fix bashism.
authorBen Pfaff <blp@nicira.com>
Wed, 20 May 2009 16:17:04 +0000 (09:17 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 20 May 2009 16:17:20 +0000 (09:17 -0700)
Thanks to Nicolas Perrenoud <nicolape@ee.ethz.ch> for reporting the
problem.

utilities/ovs-pki.in

index 2e288a95f6cac830f8f10f32e14cdaa0db244110..43c0f62436966744e2a9750a5c47524cc6c7e7cf 100755 (executable)
@@ -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"