Index: /branches/eam_branches/ipp-20120601/psconfig/psbuild
===================================================================
--- /branches/eam_branches/ipp-20120601/psconfig/psbuild	(revision 34030)
+++ /branches/eam_branches/ipp-20120601/psconfig/psbuild	(revision 34031)
@@ -395,7 +395,11 @@
 
 sub bootstrap {
-
-    if (@ARGV != 2) { die "USAGE: psbuild -bootstrap (install_dir)\n"; }
+    if (@ARGV != 2) { die "USAGE: psbuild -bootstrap (install_dir | current)\n"; }
     $psconfdir = $ARGV[1];
+
+    if ($psconfdir eq "current") {
+	$psconfdir = $ENV{'PSCONFDIR'};
+	if (! $psconfdir) { die "no env variable PSCONFDIR found for psbuild -bootstrap current\n"; }
+    }
     die "Target directory must be absolute, not relative: $psconfdir\n" unless $psconfdir =~ m|^/|;
 
