<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
I made some tests and looking at code of tm_context, I think there
is a possible bug:<br>
(src/tm_mad/common/context)<br>
<br>
In code:<br>
<br>
for f in "${SRC[@]}"; do<br>
case "$f" in<br>
<a class="moz-txt-link-freetext" href="http://*">http://*</a>)<br>
exec_and_set_error "$WGET -P $ISO_DIR $f" "Error downloading
$f"<br>
;;<br>
*)<br>
if echo "$f" | grep -q ':'; then<br>
target=$(echo "$f"|cut -d':' -f2-)<br>
target="'$target'"<br>
f=$(echo "$f"|cut -d':' -f1)<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
<br>
If a target is set with something like : f =
/path_to_my_<a class="moz-txt-link-freetext" href="file:subdir/my_file">file:subdir/my_file</a><br>
<br>
target is then set with quotes, in the above example
target='subdir/myfile'<br>
<br>
Following command is:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
exec_and_set_error "cp -R $f $ISO_DIR/$target" \<br>
"Error copying $f to $ISO_DIR"<br>
<br>
The cp will fail: cp -R /path_to_my_file $ISO_DIR/'subdir/myfile'<br>
There are quotes in cp target path.<br>
<br>
Am I correct. I made a try and it failed, but I wonder if it is code
part or an other error I made somewhere else.<br>
<br>
Olivier<br>
<br>
<pre class="moz-signature" cols="72">--
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95
gpg key id: 4096R/326D8438 (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
</pre>
</body>
</html>