Adjust community-patches path for the new unified-builder path

master
Tk-Glitch 2020-10-26 22:58:19 +07:00
parent e9fb606121
commit 97b7e32dc6
1 changed files with 3 additions and 3 deletions

@ -1055,12 +1055,12 @@ _tkg_srcprep() {
# Community patches # Community patches
if [ -n "$_community_patches" ]; then if [ -n "$_community_patches" ]; then
if [ ! -d "$_where/../../community-patches" ]; then if [ ! -d "$_where/../community-patches" ]; then
cd "$_where/../.." && git clone https://github.com/Frogging-Family/community-patches.git && cd "${srcdir}/${_srcpath}" cd "$_where/.." && git clone https://github.com/Frogging-Family/community-patches.git && cd "${srcdir}/${_srcpath}"
fi fi
_community_patches=($_community_patches) _community_patches=($_community_patches)
for _p in ${_community_patches[@]}; do 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 done
fi fi