summaryrefslogtreecommitdiff
path: root/spectro/oeminst.c
diff options
context:
space:
mode:
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)