On 2008.04.09, John Buckman <[EMAIL PROTECTED]> wrote: > Can someone make this change in CVS: > > the utils/*.tcl files in CVS all need: > > #!/usr/local/bin/tclsh > > prepended at the top. Currently, they don't have this, and thus are run > as shell scripts. > > They also need their permissions to be executable. > > I know we've switched to a tcl-building method, but "./configure" still > (mostly) works, but more importantly, those util scripts are used by > ns.mak and modules depend on them to work.
If you execute configure with TCLSH=/usr/local/bin/tclsh, the scripts will be executed correctly. If you hardcode a path to tclsh at the top of the scripts, it will only work if others have their tclsh at that location. Not something you can (safely) assume. > Dossy: if you are willing to give me cvs write privs, I can fix this. IMHO, the correct "fix" is to automatically detect (AC_PATH_TCLSH kind of thing) in the autoconf _if_ TCLSH wasn't passed to configure. Would you mind doing that? I'd be happy to give you CVS write privs, what's your SourceForge user ID? -- Dossy -- Dossy Shiobara | [EMAIL PROTECTED] | http://dossy.org/ Panoptic Computer Network | http://panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70) -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
