aboutsummaryrefslogtreecommitdiff
path: root/utilities/ovs-pki.in
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-01-10 12:44:46 -0800
committerBen Pfaff <blp@nicira.com>2011-01-10 12:44:46 -0800
commit7867b760c2924c36521cb5a8c287dc5fe725529a (patch)
tree522e5cc11538538f0fe3dd291f7d29893aa0d132 /utilities/ovs-pki.in
parentbe02e7c3712a927993d5ff00a98b824582e1f5e2 (diff)
ovs-pki: Fix handling of relative log file name on --log option.
"$var=value" is not valid shell syntax, but "var=value" is.
Diffstat (limited to 'utilities/ovs-pki.in')
-rwxr-xr-xutilities/ovs-pki.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities/ovs-pki.in b/utilities/ovs-pki.in
index 9a55961f..02552513 100755
--- a/utilities/ovs-pki.in
+++ b/utilities/ovs-pki.in
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (c) 2008, 2009, 2010 Nicira Networks, Inc.
+# Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -173,7 +173,7 @@ if test -z "$dsaparam"; then
fi
case $log in
/*) ;;
- *) $log="$PWD/$log" ;;
+ *) log="$PWD/$log" ;;
esac
logdir=$(dirname "$log")