From 8a21d908aecf1d1044c1c1b5beacc8141bb78b00 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Fri, 4 Aug 2023 10:04:36 -0400 Subject: [PATCH] geoip: Fix cargo target directory Signed-off-by: David Goulet --- .gitignore | 2 ++ scripts/maint/geoip/update_geoip.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 69b707c788..8e6164631d 100644 --- a/.gitignore +++ b/.gitignore @@ -140,6 +140,8 @@ core.* # /scripts /scripts/maint/checkOptionDocs.pl /scripts/maint/updateVersions.pl +scripts/maint/geoip/geoip +scripts/maint/geoip/geoip6 # /src/ /src/Makefile diff --git a/scripts/maint/geoip/update_geoip.sh b/scripts/maint/geoip/update_geoip.sh index 3e6b016519..ac0e9eb514 100755 --- a/scripts/maint/geoip/update_geoip.sh +++ b/scripts/maint/geoip/update_geoip.sh @@ -18,7 +18,7 @@ location dump "$TMP/geoip-dump.txt" OLDDIR=$(pwd) cd "$DIR/geoip-db-tool/" -cargo build --release +cargo build --release --target-dir "target" cd "$OLDDIR" "$DIR/geoip-db-tool/target/release/geoip-db-tool" -i "$TMP/geoip-dump.txt" -- 2.11.4.GIT