ref: 410752ea2d5f6661e363379d14bd255521ca46e7
parent: 8ba9576c691e652534586d8ea337b20aef34eb49
author: Ori Bernstein <[email protected]>
date: Mon Oct 1 11:36:34 EDT 2012
Prefix printed commands with a tab. This makes errors (which start on column 0) stand out from the commands being run.
--- a/test/test.sh
+++ b/test/test.sh
@@ -8,15 +8,15 @@
function use {
rm -f $1 $1.o $1.s $1.use
- echo $MU -I ../libstd -o $1.use $1.myr && \
+ echo " "$MU -I ../libstd -o $1.use $1.myr && \
$MU $1.myr -o $1.use
}
function build {
rm -f $1 $1.o $1.s $1.use
- echo $MC -I ../libstd $1.myr && \
+ echo " "$MC -I ../libstd $1.myr && \
$MC -I ../libstd $1.myr && \
- echo $LD -o $1 $1.o -L../libstd -lstd && \
+ echo " "$LD -o $1 $1.o -L../libstd -lstd && \
$LD -o $1 $1.o -L../libstd -lstd
}