From d59d0422b43d7bb35e031d2c0162b0a04fa62e35 Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Thu, 28 Feb 2008 23:08:43 +0000 Subject: [PATCH] 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 --- jtag/ChangeLog | 1 + jtag/src/detect.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 95a74bab..3a67027b 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,6 +1,7 @@ 2008-02-28 Kolja Waschk * 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 diff --git a/jtag/src/detect.c b/jtag/src/detect.c index 1284d780..49ff96d9 100644 --- a/jtag/src/detect.c +++ b/jtag/src/detect.c @@ -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];