]> git.proxmox.com Git - ovs.git/commitdiff
ovs-pki: Fix handling of relative log file name on --log option.
authorBen Pfaff <blp@nicira.com>
Mon, 10 Jan 2011 20:44:46 +0000 (12:44 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 10 Jan 2011 20:44:46 +0000 (12:44 -0800)
"$var=value" is not valid shell syntax, but "var=value" is.

utilities/ovs-pki.in

index 9a55961fe3641746ebb02e229220bda99eb1fc66..0255251321e411a32f2cc7fcb4ac61821d1b2ea6 100755 (executable)
@@ -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")