Compile UZDoom on Linux: Difference between revisions
Content deleted Content added
Line 244:
if [ -z "$(git describe --exact-match --tags $h 2>/dev/null)" ]; then
d=-alpha; else d=''; fi &&
printf '%s\n' '#!/bin/sh'
'[ "$(echo $XDG_SESSION_TYPE)" = wayland ] && export SDL_VIDEO_DRIVER=wayland' \
"exec /usr/games/uzdoom$d/uzdoom \"\$@\"" > uzdoom$d.sh &&
chmod 755 uzdoom$d.sh &&
sudo mv -v uzdoom$d.sh /usr/bin/uzdoom$d
| |||