escape $2 in generated compile script example (#19)
This commit is contained in:
parent
59eb7e8f1e
commit
1ad6e8ca0d
1 changed files with 1 additions and 1 deletions
|
|
@ -853,7 +853,7 @@ create a file called `compile.do`:
|
|||
|
||||
redo-ifchange config.sh
|
||||
. ./config.sh
|
||||
echo "gcc -c -o \$3 $2.c $CFLAGS" >$3
|
||||
echo "gcc -c -o \$3 \$2.c $CFLAGS" >$3
|
||||
chmod a+x $3
|
||||
|
||||
Then, your `default.o.do` can simply look like this:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue