Skip to contentSkip to conversation

tools/xm-test: portability fix

PATCH New Christoph Egger 1 participant 1 message May 9, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/xm-test: portability fix

Avoid using == in /bin/sh script.

From: David Brownlee <[email protected]>

Please apply this to xen-4.1-testing, too.

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
tools/xm-test/ramdisk/make-release.sh +1 -1
diff -r 4b48d86396b7 -r 567bcc515c6a tools/xm-test/ramdisk/make-release.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-if [ "$1" == "" ]
+if [ "$1" = "" ]
 then
   arch=""
 else

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel