[Amsn-devel] OT: Congratulations WAS: Re: [Amsn-commits] msn amsn-remote,1.2,1.3

2006-01-04 Thread Sander Hoentjen
Your first commit! Congratulations!
(Now I hope it doesn't break amsn horribly :P)

On Wed, 2006-01-04 at 18:00 +, Vivia Nikolaidou wrote:
 Update of /cvsroot/amsn/msn
 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9219
 
 Modified Files:
   amsn-remote 
 Log Message:
 Now we can launch amsn-remote from every directory
 
 Index: amsn-remote
 ===
 RCS file: /cvsroot/amsn/msn/amsn-remote,v
 retrieving revision 1.2
 retrieving revision 1.3
 diff -C2 -d -r1.2 -r1.3
 *** amsn-remote   27 Apr 2004 15:22:23 -  1.2
 --- amsn-remote   4 Jan 2006 18:00:39 -   1.3
 ***
 *** 260,286 
   
   
 ! if {[catch {file readlink [info script]} res]!=0} {
 ! 
 !#Error in readlink, so it's not a symbolic link
 !set program_dir [file dirname [info script]]
 ! 
 ! } else {
 ! 
 !#Recursively update $resdir until it's not a link
 !set program_dir [file dirname $res]
   
 -while {[catch {file readlink $res} res2]==0} {
 -   set res $res2
   
 !   #Update $program_dir, depending on absolute or relative path
 !   if { [string range $res2 0 0]==/ } {
 !  set program_dir [file dirname $res2]
 !   } else {
 !  set program_dir [file join $resdir [file dirname $res2]]
 !   }
   
 !}
   }
   
   source [file join $program_dir migmd5.tcl]
   
 --- 260,284 
   
   
 ! #Fixed by Tomasz Nguyen
 ! set program_dir [file dirname [info script]]
 ! set program [file tail [info script]]
   
   
 ! while {[catch {file readlink [file join $program_dir $program]} program]== 
 0} {
 ! if {[file pathtype $program] == absolute} {
 ! set program_dir [file dirname $program]
 ! } else {
 ! set program_dir [file join $program_dir [file dirname 
 $program]]
 ! }
   
 ! set program [file tail $program]
   }
   
 + set starting_dir [pwd]
 + cd $program_dir
 + set program_dir [pwd]
 + unset program
 + #unset program_dir
 + 
   source [file join $program_dir migmd5.tcl]
   
 
 
 
 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
 for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Amsn-commits mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/amsn-commits
 



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel


Re: [Amsn-devel] OT: Congratulations WAS: Re: [Amsn-commits] msn amsn-remote,1.2,1.3

2006-01-04 Thread Vivia Nikolaidou

 Your first commit! Congratulations!
 (Now I hope it doesn't break amsn horribly :P)

Thanx :))) Well, no it doesn't break aMSN, I tested it :D

Thanx Phil too for the congratulations! :


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel