Fix brainfart

This commit is contained in:
Jonathan Schleifer 2021-08-06 23:31:22 +02:00
parent 72013460fd
commit a4e64772d6
No known key found for this signature in database
GPG key ID: 636703577395312F

View file

@ -50,10 +50,10 @@ xsocket="/tmp/.X11-unix/X${DISPLAY#:}"
ro_binds="" ro_binds=""
# Handle various wrapper scripts around wine that some distros have. # Handle various wrapper scripts around wine that some distros have.
if head -c 1 $(which wine) | grep -F '/bin/sh' >/dev/null 2>&1; then if head -1 $(which wine) | grep -F '/bin/sh' >/dev/null 2>&1; then
ro_binds="$ro_binds --ro-bind /bin/sh /bin/sh" ro_binds="$ro_binds --ro-bind /bin/sh /bin/sh"
fi fi
if head -c 1 $(which wine) | grep -F '/bin/bash' >/dev/null 2>&1; then if head -1 $(which wine) | grep -F '/bin/bash' >/dev/null 2>&1; then
ro_binds="$ro_binds --ro-bind /bin/bash /bin/bash" ro_binds="$ro_binds --ro-bind /bin/bash /bin/bash"
fi fi