diff --git a/.github/workflows/flathub_push_cooker.yml b/.github/workflows/flathub_push_cooker.yml index 304fb6ba..5c2bf1c1 100644 --- a/.github/workflows/flathub_push_cooker.yml +++ b/.github/workflows/flathub_push_cooker.yml @@ -71,10 +71,10 @@ jobs: fi git submodule add https://github.com/flathub/shared-modules.git shared-modules - if [ -d rd-submodules/retroarch ]; then - git rm -rf rd-submodules/retroarch + if [ -d $gits_folder/RetroDECK/rd-submodules/retroarch ]; then + git rm -rf $gits_folder/RetroDECK/rd-submodules/retroarch fi - git submodule add https://github.com/flathub/org.libretro.RetroArch.git rd-submodules/retroarch + git submodule add https://github.com/flathub/org.libretro.RetroArch.git $gits_folder/RetroDECK/rd-submodules/retroarch # unbinds all submodules git submodule deinit -f .