From 97b7e32dc6679aeef1e2708b7b747cc92e5f045a Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Mon, 26 Oct 2020 22:58:19 +0100 Subject: [PATCH] Adjust community-patches path for the new unified-builder path --- linux-tkg-config/prepare | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index e6d2ef2..75d34e3 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -1055,12 +1055,12 @@ _tkg_srcprep() { # Community patches if [ -n "$_community_patches" ]; then - if [ ! -d "$_where/../../community-patches" ]; then - cd "$_where/../.." && git clone https://github.com/Frogging-Family/community-patches.git && cd "${srcdir}/${_srcpath}" + if [ ! -d "$_where/../community-patches" ]; then + cd "$_where/.." && git clone https://github.com/Frogging-Family/community-patches.git && cd "${srcdir}/${_srcpath}" fi _community_patches=($_community_patches) for _p in ${_community_patches[@]}; do - ln -s "$_where"/../../community-patches/linux"$_basever"-tkg/$_p "$_where"/ + ln -s "$_where"/../community-patches/linux"$_basever"-tkg/$_p "$_where"/ done fi