Rename variable properly

This commit is contained in:
Manuel Thalmann 2023-03-26 23:25:25 +02:00
parent 4dcddc1d2d
commit 08cb65dbcc

View file

@ -158,7 +158,7 @@ RUN \
# Create job for waiting for Xvfb to start # Create job for waiting for Xvfb to start
watchStarting="$(mktemp)"; \ watchStarting="$(mktemp)"; \
{ 2>&1 inotifywait -e create /tmp/.X11-unix/; } | { sed -u -e "/^Watches established.\$/e rm \"$watchStarting\""; } & \ { 2>&1 inotifywait -e create /tmp/.X11-unix/; } | { sed -u -e "/^Watches established.\$/e rm \"$watchStarting\""; } & \
resolver="$!"; \ displayResolver="$!"; \
while [ -f "$watchStarting" ]; do true; done; \ while [ -f "$watchStarting" ]; do true; done; \
{ \ { \
# Improve arguments for screenshots # Improve arguments for screenshots
@ -167,7 +167,7 @@ RUN \
}; \ }; \
displayPID="$!"; \ displayPID="$!"; \
# Wait for Xvfb to start # Wait for Xvfb to start
wait "$resolver"; \ wait "$displayResolver"; \
/usr/bin/entrypoint wine reg add 'HKLM\Software\Wine\winedbg' /V ShowCrashDialog /T REG_DWORD /D 0; \ /usr/bin/entrypoint wine reg add 'HKLM\Software\Wine\winedbg' /V ShowCrashDialog /T REG_DWORD /D 0; \
y=0; \ y=0; \
while ! \ while ! \