OILS
/
regtest
/ sh_wrapper.sh
View on Github
|
oils.pub
9 lines, 7 significant
1
#!/bin/bash
2
3
OSH_BIN=
"
/usr/local/bin/oils-for-unix
"
4
if [
"
$1
"
=
"
-c
"
] && [
"
$2
"
=
"
--
"
]; then
5
shift 2
6
exec
"
$OSH_BIN
"
osh -c
"
$@
"
7
else
8
exec
"
$OSH_BIN
"
osh
"
$@
"
9
fi