summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-05-16 20:43:33 +0200
committerGravatar waker <wakeroid@gmail.com>2011-05-16 20:43:33 +0200
commitc351fe64c02a056ea122b52f6a94ca12c4b9da74 (patch)
tree49a22e01627dcfb63d55f658e535e91c67eed313
parentaf22ddf012fee8540c81b81a8b4957af6a941c2c (diff)
initialize installdir with PREFIX value in non-portable builds
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 80e07b27..7ac90466 100644
--- a/main.c
+++ b/main.c
@@ -599,6 +599,8 @@ main (int argc, char *argv[]) {
e--;
}
*e = 0;
+#else
+ strcpy (dbinstalldir, PREFIX);
#endif
#ifdef __linux__