summaryrefslogtreecommitdiffstats
path: root/Construct
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-12-14 20:08:06 (GMT)
committerSteven Knight <knight@baldmt.com>2001-12-14 20:08:06 (GMT)
commitad37063b59063fb328d2047e1b2e15669bcb134c (patch)
tree9a30f1cfff2c6aa2d010b729c898a2a0f0be68fe /Construct
parent60ca9b913e5ac7d4f8079e521e8cbf2295c196d9 (diff)
downloadSCons-ad37063b59063fb328d2047e1b2e15669bcb134c.zip
SCons-ad37063b59063fb328d2047e1b2e15669bcb134c.tar.gz
SCons-ad37063b59063fb328d2047e1b2e15669bcb134c.tar.bz2
Update version numbers, etc., to 0.02.
Diffstat (limited to 'Construct')
-rw-r--r--Construct4
1 files changed, 2 insertions, 2 deletions
diff --git a/Construct b/Construct
index f28d082..f39bcb3 100644
--- a/Construct
+++ b/Construct
@@ -41,7 +41,7 @@ sub cons::whereis {
my $file = shift;
foreach my $dir (split(/$Config{path_sep}/, $ENV{PATH})) {
$f = File::Spec->catfile($dir, $file);
- return $f if -x $f;
+ return $f if -x $f && ! -d $f;
}
return undef
}
@@ -85,7 +85,7 @@ $developer = $ARG{developer} || $ENV{USERNAME} || $ENV{LOGNAME} || $ENV{USER};
$revision = $ARG{version};
chomp($revision = `$aesub '\$version' 2>/dev/null`) if $aesub && ! $revision;
-$revision = '0.01' if ! $revision;
+$revision = '0.02' if ! $revision;
$change = $ARG{change};
chomp($change = `$aesub '\$change' 2>/dev/null`) if $aesub && ! $change;