Package: astrometry.net / 0.70+dfsg-1

Use-correct-sextractor-program-name-instead-of-sex.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Ole Streicher <olebole@debian.org>
Date: Thu, 1 Dec 2016 21:18:56 +0100
Subject: Use correct "sextractor" program name instead of "sex"

---
 blind/augment-xylist.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/blind/augment-xylist.c b/blind/augment-xylist.c
index 8900c50..31bdd22 100644
--- a/blind/augment-xylist.c
+++ b/blind/augment-xylist.c
@@ -145,8 +145,8 @@ static an_option_t options[] = {
      "Note that CATALOG_NAME and CATALOG_TYPE values will be over-ridden by command-line values.  "
      "This option implies --use-sextractor."},
     {'*', "sextractor-path", required_argument, "filename",
-     "use the given path to the SExtractor executable.  Default: just 'sex', assumed to be in your PATH."
-     "  Note that you can give command-line args here too (but put them in quotes), eg: --sextractor-path 'sex -DETECT_TYPE CCD'.  "
+     "use the given path to the SExtractor executable.  Default: 'sextractor', assumed to be in your PATH."
+     "  Note that you can give command-line args here too (but put them in quotes), eg: --sextractor-path 'sextractor -DETECT_TYPE CCD'.  "
      "This option implies --use-sextractor."},
     {'3', "ra",             required_argument, "degrees or hh:mm:ss",
      "only search in indexes within 'radius' of the field center given by 'ra' and 'dec'"},
@@ -863,7 +863,7 @@ int augment_xylist(augment_xylist_t* axy,
             if (axy->sextractor_path)
                 sl_append(cmd, axy->sextractor_path);
             else
-                sl_append(cmd, "sex");
+                sl_append(cmd, "sextractor");
 
             if (axy->sextractor_config)
                 sl_appendf(cmd, "-c %s", axy->sextractor_config);