|
From: <sv...@va...> - 2008-11-08 15:11:14
|
Author: sewardj
Date: 2008-11-08 15:11:03 +0000 (Sat, 08 Nov 2008)
New Revision: 8741
Log:
Sigh: /bin/sh on Ubuntu is not bash, it is dash (what a nuisance) and
it doesn't do the "[ ]" thing itself; instead it hands it off to
/usr/bin/[. And that doesn't understand "==" on strings; it wants "="
instead.
Modified:
trunk/vg-in-place
Modified: trunk/vg-in-place
===================================================================
--- trunk/vg-in-place 2008-11-08 15:06:57 UTC (rev 8740)
+++ trunk/vg-in-place 2008-11-08 15:11:03 UTC (rev 8741)
@@ -5,7 +5,7 @@
dollarzero=$0
-if [ "${dollarzero#/}" == "${dollarzero}" ];
+if [ "${dollarzero#/}" = "${dollarzero}" ];
then
# Relative name
scriptname=$PWD/$dollarzero;
|