From a74e7f26581b485cb171ef78caf474a7c0aee338 Mon Sep 17 00:00:00 2001
From: XargonWan <XargonWan@gmail.com>
Date: Wed, 21 Sep 2022 11:45:43 +0200
Subject: [PATCH] Juggling with workflow

---
 .github/workflows/flathub_push_cooker.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/flathub_push_cooker.yml b/.github/workflows/flathub_push_cooker.yml
index b7588fc2..de908b0f 100644
--- a/.github/workflows/flathub_push_cooker.yml
+++ b/.github/workflows/flathub_push_cooker.yml
@@ -71,12 +71,12 @@ jobs:
           if [ -d shared-modules ]; then
             git rm -rf shared-modules
           fi          
-          git submodule add https://github.com/flathub/shared-modules.git shared-modules
+          git submodule add https://github.com/flathub/shared-modules.git ./shared-modules
 
           if [ -d rd-submodules/retroarch ]; then
             git rm -rf 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 ./rd-submodules/retroarch
 
           # unbinds all submodules
           git submodule deinit -f .