From: Ben Pfaff Date: Mon, 10 Jan 2011 20:44:46 +0000 (-0800) Subject: ovs-pki: Fix handling of relative log file name on --log option. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7867b760c2924c36521cb5a8c287dc5fe725529a;p=openvswitch ovs-pki: Fix handling of relative log file name on --log option. "$var=value" is not valid shell syntax, but "var=value" is. --- 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")