"$var=value" is not valid shell syntax, but "var=value" is.
#! /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.
fi
case $log in
/*) ;;
- *) $log="$PWD/$log" ;;
+ *) log="$PWD/$log" ;;
esac
logdir=$(dirname "$log")