summaryrefslogtreecommitdiff
path: root/spectro/oeminst.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-03 20:38:41 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-03 20:38:41 +0100
commitba627dd9ecb578e9852c7b9cce67ec63199d1acf (patch)
tree27c4258311ca8c8ed7ff67a8a0bc7280e8fcae79 /spectro/oeminst.c
parent69aec3b712232e93600ecd741269fed1f90b412a (diff)
parent3abb40d43649adb3807180692d8579c405524675 (diff)
Merge branch 'release/2.0.0+repack-1'2.0.0+repack-1
Diffstat (limited to 'spectro/oeminst.c')
-rwxr-xr-x[-rw-r--r--]spectro/oeminst.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/spectro/oeminst.c b/spectro/oeminst.c
index 726a54c..3a4b03b 100644..100755
--- a/spectro/oeminst.c
+++ b/spectro/oeminst.c
@@ -30,6 +30,7 @@
#include "conv.h"
#include "aglob.h"
#include "oemarch.h"
+#include "cgats.h"
#include "xspect.h"
#include "disptechs.h"
#include "ccmx.h"
@@ -260,7 +261,8 @@ main(int argc, char *argv[]) {
int npaths = 0;
/* Get destination path. This may drop uid/gid if we are su */
- if ((npaths = xdg_bds(NULL, &paths, xdg_data, xdg_write, scope, install_name)) < 1) {
+ if ((npaths = xdg_bds(NULL, &paths, xdg_data, xdg_write, scope, xdg_none,
+ install_name)) < 1) {
error("Failed to find/create XDG_DATA path '%s'",install_name);
}
if (install)