Use "include" instead of "script" internally to load part descriptions during "detect", as the error message suggested...

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1106 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Kolja Waschk 17 years ago
parent 00fb310d2a
commit d59d0422b4

@ -1,6 +1,7 @@
2008-02-28 Kolja Waschk <kawk>
* doc/UrJTAG.txt: Concretized list of supported USB cables.
* src/detect.c: Use "include" internally instead of "script", avoid errmsg
2008-02-27 Kolja Waschk <kawk>

@ -190,7 +190,7 @@ detect_parts( chain_t *chain, char *db_path )
int i;
char data_path[1024];
char *cmd[3] = {"script", data_path, NULL};
char *cmd[3] = {"include", data_path, NULL};
char manufacturer[MAXLEN_MANUFACTURER + 1];
char partname[MAXLEN_PART + 1];
char stepping[MAXLEN_STEPPING + 1];

Loading…
Cancel
Save