From 31fa464704294c07c6efe4f4344b2708f33d5e24 Mon Sep 17 00:00:00 2001 From: rouhannb Date: Sat, 22 Aug 2020 13:34:12 -0400 Subject: [PATCH] Some cleanup, stop hardcoding path of Python 2 Thanks ISSOtm --- PKGBUILD | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index c26aecf..20eacc7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -121,10 +121,7 @@ prepare() { # Install skia deps (essentially runs git-sync-deps with the files already downloaded) mkdir --parents --verbose skia/third_party/externals - for _dep in buildtools common - do - ln --force --symbolic --verbose "../${_dep}" skia - done + ln --force --symbolic --verbose ../{buildtools,common} skia for _dep in angle2 dawn dng_sdk egl-registry expat freetype harfbuzz icu imgui opencl-registry \ libjpeg-turbo libpng libwebp lua microhttpd opencl-lib opengl-registry piex \ @@ -138,7 +135,7 @@ prepare() { cp --verbose skia/bin/gn skia/buildtools/linux64/gn mkdir --parents --verbose binsub - ln --force --symbolic /usr/bin/python2 binsub/python + ln --force --symbolic $(which python2) binsub/python } build() {