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