Commits

Anonymous committed dd4b8e0

#i10000# just one more fallback for StandDir

Comments (0)

Files changed (1)

solenv/bin/build.pl

 #    $StandDir = getcwd();
     if ( defined $ENV{PWD} ) {
 	    $StandDir = $ENV{PWD};
+	} elsif (defined $ENV{_cwd}) {
+		$StandDir = $ENV{_cwd};
 	} else {
-		$StandDir = $ENV{_cwd};
-	}
+		$StandDir = cwd();
+    };
 		print "curr dir: $StandDir\n";
     my $previous_dir = '';
     do {