1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
From: Chris Lamb <lamby@debian.org>
Date: Sun, 17 May 2020 16:19:43 +0200
Subject: Make the build reproducible
Last-Update: 2020-05-12
---
src/Constante.cpp | 7 -------
src/MOGL/MOGL_Constante.cpp | 4 ----
2 files changed, 11 deletions(-)
diff --git a/src/Constante.cpp b/src/Constante.cpp
index 9e52dd9..c6fbda8 100644
--- a/src/Constante.cpp
+++ b/src/Constante.cpp
@@ -120,13 +120,6 @@ void Constante::_InitialiserVariables()
_Global=DATADIR_BRIQUOLO;
_DirLocale=LOCALEDIR;
}
- else
- {
- // Le fichier tmoin n'existe pas, cela signifie que l'on n'a pas fait le make install
- // On doit prendre les fichier de donnes dans le rep des sources
- _Global=SRCTOPDIR"/data";
- _DirLocale=SRCTOPDIR"/po";
- }
_Data="/data";
_Tableau="/tableau";
diff --git a/src/MOGL/MOGL_Constante.cpp b/src/MOGL/MOGL_Constante.cpp
index 90cd349..19b3be4 100644
--- a/src/MOGL/MOGL_Constante.cpp
+++ b/src/MOGL/MOGL_Constante.cpp
@@ -48,10 +48,6 @@ void MOGL_Constante::_InitialiserVariables()
{
_DataDir=DATADIR_BRIQUOLO"/data";
}
- else
- {
- _DataDir=SRCTOPDIR"/data/data";
- }
#endif
}
|