mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
Use absolute path for datadir in test_keygen.sh
This commit is contained in:
parent
b63034ce3e
commit
604a18e680
@ -65,6 +65,9 @@ if [ ! -d "$DATA_DIR" ]; then
|
||||
fi
|
||||
trap "rm -rf '$DATA_DIR'" 0
|
||||
|
||||
# Use an absolute path for this or Tor will complain
|
||||
DATA_DIR=`cd "${DATA_DIR}" && pwd`
|
||||
|
||||
touch "${DATA_DIR}/empty_torrc"
|
||||
|
||||
QUIETLY="--hush"
|
||||
|
Loading…
Reference in New Issue
Block a user