diff options
-rwxr-xr-x | src/fs/test_gnunet_fs_psd.py.in | 6 |
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': | |||
53 | unindex = './gnunet-unindex.exe' | 53 | unindex = './gnunet-unindex.exe' |
54 | search = './gnunet-search.exe' | 54 | search = './gnunet-search.exe' |
55 | 55 | ||
56 | if "GNUNET_PREFIX" in os.environ: | ||
57 | pass | ||
58 | else: | ||
59 | print("You need to export GNUNET_PREFIX") | ||
60 | sys.exit(1) | ||
61 | |||
56 | if os.name == "nt": | 62 | if os.name == "nt": |
57 | shutil.rmtree(os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-psd"), True) | 63 | shutil.rmtree(os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-psd"), True) |
58 | else: | 64 | else: |