Skip to content

Commit 7874733

Browse files
Tweak to the Wine variant of the invoke-unix script
1 parent 8c51a0c commit 7874733

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

util/invoke-unix-wine.exe

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
#!/bin/bash
22

3+
4+
for arg in "$@" ; do
5+
if [[ "$arg" == -* ]] ; then
6+
cmd=$cmd "$arg"
7+
else
8+
cmd=$cmd $(winepath --unix "$arg")
9+
fi
10+
done
11+
312
# Just run the command given
4-
$(winepath --unix $@)
13+
$cmd
514
exit $?

0 commit comments

Comments
 (0)