acme/win: pass on flags to winfs (fix undocumented -e flag)
This commit is contained in:
parent
57d690c482
commit
7734749e8a
1 changed files with 6 additions and 1 deletions
|
@ -1,8 +1,13 @@
|
||||||
#!/bin/rc
|
#!/bin/rc
|
||||||
|
flags=()
|
||||||
|
while(~ $1 -*){
|
||||||
|
flags=($flags $1)
|
||||||
|
shift
|
||||||
|
}
|
||||||
if(~ $#* 0){
|
if(~ $#* 0){
|
||||||
*=(rc -i)
|
*=(rc -i)
|
||||||
}
|
}
|
||||||
/acme/bin/$cputype/winfs $1 >/dev/null >[2=1] || {
|
/acme/bin/$cputype/winfs $flags $1 >/dev/null >[2=1] || {
|
||||||
# compat
|
# compat
|
||||||
exec /acme/bin/$cputype/win $*
|
exec /acme/bin/$cputype/win $*
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue