aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-08-06 12:08:30 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-08-06 13:23:21 +0300
commit21990649bfd4b251d7344073e80cbd36641b9299 (patch)
treedfb396a00741a969ba0c6dcbcac1e50e2df66f97 /contrib/tools
parentb992a648e70ca7771833e02562bbd1bcac60932f (diff)
downloadydb-21990649bfd4b251d7344073e80cbd36641b9299.tar.gz
Replace another bison patch with environment variable
038ae732c509e3b2c4b4fc745092e090378ab5a2
Diffstat (limited to 'contrib/tools')
-rw-r--r--contrib/tools/bison/src/files.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/contrib/tools/bison/src/files.c b/contrib/tools/bison/src/files.c
index 8bc7a4da04..d383a0ede0 100644
--- a/contrib/tools/bison/src/files.c
+++ b/contrib/tools/bison/src/files.c
@@ -419,18 +419,9 @@ unlink_generated_sources (void)
/* Memory allocated by relocate2, to free. */
static char *relocate_buffer = NULL;
-#include "uniqstr.h"
-#include <contrib/tools/bison/arcadia_root.h>
-#define STR(a) XSTR(a)
-#define XSTR(a) #a
char const *
pkgdatadir (void)
{
- const char* arc_path = getenv("ARCADIA_ROOT_DISTBUILD");
- if (arc_path == NULL)
- arc_path = ArcadiaRoot();
- return uniqstr_concat(3, arc_path, "/", STR(BISON_DATA_DIR));
-
if (relocate_buffer)
return relocate_buffer;
else