Please, consider only the lines:

-           cp $(readlink -f "$dir/$ORIGTARGZ") $ORIGTARDIR
+           cp $(readlink -f "$dir/$ORIGTARGZ") $ORIGTARDIR/$ORIGTARGZ

sine I forgot some "quotes" in the other lines ;)

-       echo DEBUG: try $dir 
+       echo DEBUG: try $dir/$ORIGTARGZ -> $ORIGTARDIR/$ORIGTARGZ

should be 

-       echo DEBUG: try $dir 
+       echo "DEBUG: try $dir/$ORIGTARGZ -> $ORIGTARDIR/$ORIGTARGZ"

ciao
-- 
Enrico Tassi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to