changeset 27:8b75dee28f40 0.0.1

For some reason, `""` doesn't work. But "$("")" does.
author Rob Landley <rob@landley.net>
date Tue, 05 Dec 2006 23:00:12 -0500
parents f5cd9e1c2367
children a6a06bf0c541
files build.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build.sh	Tue Dec 05 22:12:28 2006 -0500
+++ b/build.sh	Tue Dec 05 23:00:12 2006 -0500
@@ -191,7 +191,7 @@
 
 "$GCCNAME" -Os "$WORK"/hello.c -o "$WORK"/hello &&
 "$GCCNAME" -Os -static "$WORK"/hello.c -o "$WORK"/hello &&
-[ x`qemu-${KARCH} "${WORK}"/hello` == x"Hello world!" ] &&
+[ x"$(qemu-${KARCH} "${WORK}"/hello)" == x"Hello world!" ] &&
 echo Cross-toolchain seems to work.
 
 [ $? -ne 0 ] && dienow