summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/fs/test_gnunet_fs_psd.py.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/test_gnunet_fs_psd.py.in b/src/fs/test_gnunet_fs_psd.py.in
index e3a8db141..0e191d4a4 100755
--- a/src/fs/test_gnunet_fs_psd.py.in
+++ b/src/fs/test_gnunet_fs_psd.py.in
@@ -53,6 +53,12 @@ elif os.name == 'nt':
unindex = './gnunet-unindex.exe'
search = './gnunet-search.exe'
+if "GNUNET_PREFIX" in os.environ:
+ pass
+else:
+ print("You need to export GNUNET_PREFIX")
+ sys.exit(1)
+
if os.name == "nt":
shutil.rmtree(os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-psd"), True)
else: