summaryrefslogtreecommitdiff
path: root/spectro/oeminst.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:54 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:54 +0100
commit1b1126bd023a2bb92699773a1867358067dabcb8 (patch)
tree6fd56d034e5a154c7992e7855d61691cecd043c4 /spectro/oeminst.c
parentcb5c7cec4aa1946f75dc3d408eb7f1051f3fb3d4 (diff)
parentf6b8e0eae4374f339487a33e3e4fe5462d5816e1 (diff)
Update upstream source from tag 'upstream/2.0.0'
Update to upstream version '2.0.0' with Debian dir e866e6e75661017faaa5331becda76021407390b
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)