Solutions plus simple que xargs
This commit is contained in:
parent
8a91705b26
commit
89f8a655f1
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
program="$(basename "$0")"
|
||||
PATH="$(echo "$PATH" | sed 's|'"$(which "$program" | tr '\n' '\0' | xargs -0 dirname)"'||g' | sed 's/^://g' | sed 's/::/:/g')"
|
||||
PATH="$(echo "$PATH" | sed 's|'"$(dirname "$(which "$program")")"'||g' | sed 's/^://g' | sed 's/::/:/g')"
|
||||
exec "$program" \
|
||||
"$@" \
|
||||
--ozone-platform-hint=wayland
|
||||
|
|
Loading…
Reference in a new issue