From ee22dab89c22f2d57b708f746e0d7039cc6b7451 Mon Sep 17 00:00:00 2001
From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr>
Date: Wed, 2 Aug 2023 15:07:13 +0200
Subject: [PATCH] Packages: Fix mage repository name.

---
 packages/linux.sh    | 8 ++++----
 packages/windows.bat | 9 ++++-----
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/packages/linux.sh b/packages/linux.sh
index 83f5c6fe..44770b6e 100755
--- a/packages/linux.sh
+++ b/packages/linux.sh
@@ -55,10 +55,10 @@ cp ../VERSION dist/pamhyr/
 cp ../AUTHORS dist/pamhyr/
 cp ../LICENSE dist/pamhyr/
 
-mkdir -p dist/pamhyr/MAGE/
-cp ../mage/mage dist/pamhyr/MAGE/
-cp ../mage/mage_extraire dist/pamhyr/MAGE/
-cp ../mage/mailleurPF dist/pamhyr/MAGE/
+mkdir -p dist/pamhyr/mage/
+cp ../mage/mage dist/pamhyr/mage/
+cp ../mage/mage_extraire dist/pamhyr/mage/
+cp ../mage/mailleurPF dist/pamhyr/mage/
 
 mkdir -p dist/pamhyr/tests_cases/
 mkdir -p dist/pamhyr/tests_cases/Saar
diff --git a/packages/windows.bat b/packages/windows.bat
index d8f6e2a5..16aba85c 100644
--- a/packages/windows.bat
+++ b/packages/windows.bat
@@ -40,16 +40,15 @@ copy /y ..\AUTHORS dist\pamhyr\
 copy /y ..\LICENSE dist\pamhyr\
 
 rem MAGE
-mkdir dist\pamhyr\MAGE
-copy /y ..\mage\mage.exe dist\pamhyr\MAGE\
-copy /y ..\mage\mage_extraire.exe dist\pamhyr\MAGE\
-copy /y ..\mage\mailleurPF.exe dist\pamhyr\MAGE\
+mkdir dist\pamhyr\mage
+copy /y ..\mage\mage.exe dist\pamhyr\mage\
+copy /y ..\mage\mage_extraire.exe dist\pamhyr\mage\
+copy /y ..\mage\mailleurPF.exe dist\pamhyr\mage\
 
 rem Copy tests_cases
 mkdir dist\pamhyr\tests_cases
 mkdir dist\pamhyr\tests_cases\Saar
 copy /y ..\tests_cases\Saar\Saar.pamhyr dist\pamhyr\tests_cases\Saar\
 
-
 rem Make installer
 "C:\Program Files (x86)\NSIS\makensis.exe" pamhyr.nsi
-- 
GitLab