Bottles: Fix btre.
This commit is contained in:
parent
e41076f373
commit
b7d1e1eb12
|
@ -15,7 +15,8 @@ function btc() {
|
||||||
# Run a file inside a bottle.
|
# Run a file inside a bottle.
|
||||||
# Usage: btre <EXE> [EXTRA]
|
# Usage: btre <EXE> [EXTRA]
|
||||||
function btre() {
|
function btre() {
|
||||||
bottles-cli run -b "${SHELL_NAME}" -e "${@}"
|
local exe=$(realpath "${1}")
|
||||||
|
bottles-cli run -b "${SHELL_NAME}" -e "${exe}" "${@:2}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Run a program inside a bottle.
|
# Run a program inside a bottle.
|
||||||
|
|
Loading…
Reference in a new issue