X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fovs-pki.in;h=019ffcfadf922a766a751299f13fc58923aaf616;hb=4acbc98d3c61432e9138215e84ae91e32902d301;hp=ac1de335a21477dc6c978dc7afe3da9b64652c68;hpb=d3e565cee955b1f52f3adf69907774f4bd7fc802;p=openvswitch diff --git a/utilities/ovs-pki.in b/utilities/ovs-pki.in index ac1de335..019ffcfa 100755 --- a/utilities/ovs-pki.in +++ b/utilities/ovs-pki.in @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira Networks, Inc. +# Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -178,7 +178,7 @@ if test -z "$dsaparam"; then fi case $log in /*) ;; - *) log="$PWD/$log" ;; + *) log=`pwd`/$log ;; esac logdir=$(dirname "$log") @@ -213,7 +213,7 @@ if test "$command" = "init"; then # Create the CAs. for ca in controllerca switchca; do echo "Creating $ca..." >&2 - oldpwd=$PWD + oldpwd=`pwd` mkdir -p $ca cd $ca