diff convert_spede_mn_tuksu.tcl @ 34:dccd6c47f9cd

Use special 'source' statement to include util_convert.tcl from same directory where the script calling it resides.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 06 Sep 2011 18:15:49 +0300
parents 8a6bfcf1f57b
children b24cb1dd0423
line wrap: on
line diff
--- a/convert_spede_mn_tuksu.tcl	Tue Sep 06 16:33:26 2011 +0300
+++ b/convert_spede_mn_tuksu.tcl	Tue Sep 06 18:15:49 2011 +0300
@@ -6,7 +6,7 @@
 # (C) Copyright 2011 Tecnic Software productions (TNSP)
 #
 package require sqlite3
-source util_convert.tcl
+source [file dirname [info script]]/util_convert.tcl
 
 ### Check commandline arguments
 if {$argc != 3} {