View Single Post
Old 11-19-2003, 11:17 PM  
romracer
Junior Member
 
Join Date: Oct 2003
Posts: 25
Default

Oh nice work as always bounty. Much appreciated. I think I found one bug though. I modified the premkd to print out some debug info so I could figure out exactly what was going on.

Code:
[L] /
[L] */archive/*
The first one is the variable pwd the second is the values read from ND_NODUPECHECK. The problem being if I try to do MKD /archive/APPZ/Some.Program from within / I'll get an error saying the dir is duplicate. If I CD to archive first though it works fine. I think what should happen is the script should compare the dir you are trying to make against the variable ND_NODUPECHECK as opposed to pwd. But whether you compare against only the first dir or if you compare the whole MKD statement is another story. Hopefully this makes sense. You can find me on irc if not.

Edit: Also it seems I have to use
Code:
set ND_NODUPECHECK "archive"
for it to work properly with a pwd of /archive. If I set it to */archive/* like the example admin, it doesn't work.
romracer is offline   Reply With Quote