mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Use absolute path for datadir in test_keygen.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user