[auton-users] scripts for platform exe names
Paul Komarek
komarek at cmu.edu
Sat Jun 21 00:30:12 EDT 2003
Hi everyone,
At the recent AUTON lab meeting, some people asked for a way to
programmatically discover the executable name for the current platform.
I have written two scripts to help with this.
*) archexe.sh:
archexe.sh will print the name of the executable, and its return value
indicates whether it is executable (0) or not (1) -- not that these
return values correspond to standard shell practice. I spent a while
writing the command-line help, so please run "archexe.sh -h" for more
details. The project is specified with -p, and otherwise defaults to
the current directory.
*) runproject.sh:
runproject.sh will run the executable for the given project (it uses
archexe.sh to get the exectuable name). You can pass arguments for the
project exectuable, and those arguments can include spaces. You can see
what it would do using --fake. The return value is the same as the
return value of the project executable.
These scripts are in h/smallbutuseful. As written, these scripts
require /bin/bash and the latest Make.common. Please update both
smallbutuseful and gmake-magic.
-Paul Komarek
More information about the Autonlab-users
mailing list