|
From: Jeff S. <jsq...@us...> - 2002-05-21 02:39:39
|
Update of /cvsroot/env-switcher/env-switcher/src
In directory usw-pr-cvs1:/tmp/cvs-serv10046
Modified Files:
switcher.in
Log Message:
Fix up the test for whether we should display the "can't find" message
or not.
Index: switcher.in
===================================================================
RCS file: /cvsroot/env-switcher/env-switcher/src/switcher.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** switcher.in 19 May 2002 05:51:47 -0000 1.6
--- switcher.in 21 May 2002 02:39:36 -0000 1.7
***************
*** 939,943 ****
if ($announce_load && -f "$tag_dir/$tag/$d") {
print "echo switcher:$tag: Loading $d;\n";
! } elsif ($announce_warn) {
print "echo switcher:$tag: Cannot find modulefile for $d -- skipping;\n";
}
--- 939,943 ----
if ($announce_load && -f "$tag_dir/$tag/$d") {
print "echo switcher:$tag: Loading $d;\n";
! } elsif ($announce_warn && ! -f "$tag_dir/$tag/$d") {
print "echo switcher:$tag: Cannot find modulefile for $d -- skipping;\n";
}
|