diff --git a/bin/waylectron b/bin/waylectron index 12d715f..2189972 100755 --- a/bin/waylectron +++ b/bin/waylectron @@ -1,6 +1,6 @@ #!/bin/sh program="$(basename "$0")" -PATH="$(echo "$PATH" | sed 's|'"$(dirname "$(which "$program")")"'||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