annotate bin/runce @ 1133:6518311459ee

<GreyKnight> (cd luabuild/luarocks-2.0.12; make > make.out 2> make.err)
author HackBot
date Fri, 14 Dec 2012 22:25:08 +0000
parents 85729b555d76
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
783
85729b555d76 <fizzie> run sed -ie 's/echo/echo -e/' bin/runc
HackBot
parents:
diff changeset
1 #!/bin/bash
85729b555d76 <fizzie> run sed -ie 's/echo/echo -e/' bin/runc
HackBot
parents:
diff changeset
2 t=`tempfile`
85729b555d76 <fizzie> run sed -ie 's/echo/echo -e/' bin/runc
HackBot
parents:
diff changeset
3 echo "$@" | gcc -o $t -x c - 2>/dev/null && $t
85729b555d76 <fizzie> run sed -ie 's/echo/echo -e/' bin/runc
HackBot
parents:
diff changeset
4 rm $t