aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author~login@aussies.space <login@aussies.space>2019-10-07 02:34:24 +0000
committer~login@aussies.space <login@aussies.space>2019-10-07 02:34:24 +0000
commita7b2bc1df6f24465a6c630e897f1197e425b7ff0 (patch)
tree8a30502e5d239ca4015cf19191c82d1a856a1ee1
parent0db09c192774ef80c86d161193753795e66e2324 (diff)
downloadtcoin-a7b2bc1df6f24465a6c630e897f1197e425b7ff0.tar.gz
Fixing preprocessor constants
To fix the preprocessor constants so that they point to the right directory for the tcoin and pcoin executables. This will be different depending on where the tcoin and pcoin executables are stored.
-rw-r--r--pcoin.cpp2
-rw-r--r--tcoin.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/pcoin.cpp b/pcoin.cpp
index 57f1faf..262fae6 100644
--- a/pcoin.cpp
+++ b/pcoin.cpp
@@ -26,7 +26,7 @@
#define PROG_ACT_W_SLASH "program_accounting/"
#define PCOIN_KEY_PATH "/home/login/tcoin/secrets/pcoin_keys"
#define TCOIN_CODEZ_PATH "/home/login/tcoin/secrets/tcoin_codez"
-#define TCOIN_BIN_PATH_W_SPACE "/home/login/tcoin/bin/tcoin "
+#define TCOIN_BIN_PATH_W_SPACE "/home/login/bin/tcoin "
#define TCOIN_PATH_W_SLASH "/home/login/tcoin/"
#define TCOIN_SCRYPT_PATH "/home/login/tcoin/bin/scrypt"
#define PCOIN_BIN_PATH "/home/login/bin/pcoin"
diff --git a/tcoin.cpp b/tcoin.cpp
index ce91735..f9d14ec 100644
--- a/tcoin.cpp
+++ b/tcoin.cpp
@@ -24,11 +24,11 @@
#define PROG_ACT_W_SLASH "program_accounting/"
#define PCOIN_KEY_PATH "/home/login/tcoin/secrets/pcoin_keys"
#define TCOIN_CODEZ_PATH "/home/login/tcoin/secrets/tcoin_codez"
-#define TCOIN_BIN_PATH_W_SPACE "/home/login/tcoin/bin/tcoin "
+#define TCOIN_BIN_PATH_W_SPACE "/home/login/bin/tcoin "
#define TCOIN_PATH_W_SLASH "/home/login/tcoin/"
#define TCOIN_SCRYPT_PATH "/home/login/tcoin/bin/scrypt"
-#define PCOIN_BIN_PATH "/home/login/tcoin/bin/pcoin"
-#define PCOIN_BIN_PATH_W_SPACE "/home/login/tcoin/bin/pcoin "
+#define PCOIN_BIN_PATH "/home/login/bin/pcoin"
+#define PCOIN_BIN_PATH_W_SPACE "/home/login/bin/pcoin "
/* OLD VALUES */
/*