From 74808f37bd38f2e400bc47ae1f5e59edbf1c7ab0 Mon Sep 17 00:00:00 2001 From: matt Date: Tue, 19 Oct 2021 15:30:44 +0000 Subject: [PATCH] KASM-786 fix xorg patch bug --- builder/build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/builder/build.sh b/builder/build.sh index 4c20df3..9db927c 100755 --- a/builder/build.sh +++ b/builder/build.sh @@ -38,7 +38,10 @@ tar -C unix/xserver -xf /tmp/xorg-server-${XORG_VER}.tar.bz2 --strip-components= cd unix/xserver patch -Np1 -i ../xserver${XORG_PATCH}.patch case "$XORG_VER" in - 1.20.*) patch -Np1 -i ../xserver120.7.patch ;; + 1.20.*) + if [ -f ../xserver120.7.patch ]; then + patch -Np1 -i ../xserver120.7.patch + fi ;; esac autoreconf -i