repo.or.cz
/
zeroinstall.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Release 1.4.1
[zeroinstall.git]
/
tests
/
runnable
/
runner
blob
46f5cc375d5dab055ee6a100cb6e08e4333a0238
1
#!/bin/sh
2
if
[
"
$1
"
!=
"runner-arg"
];
then
3
exit
1
4
fi
5
shift
6
mydir
=
"
$1
"
7
if
[ !
-f
"
$mydir
/Runnable.xml"
];
then
8
exit
1
9
fi
10
shift
11
if
[
"
$1
"
!=
"arg-for-runner"
];
then
12
exit
1
13
fi
14
shift
15
script
=
$1
16
shift
17
echo
Runner
:
script
=
`cat
$script
`
:
args
=
$@