geoip: Fix cargo target directory

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet 2023-08-04 10:04:36 -04:00
parent 3f66ff9b00
commit 8a21d908ae
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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"