[project @ 1997-10-03 15:21:52 by simonm]
authorsimonm <unknown>
Fri, 3 Oct 1997 15:21:52 +0000 (15:21 +0000)
committersimonm <unknown>
Fri, 3 Oct 1997 15:21:52 +0000 (15:21 +0000)
add yet more hacks for tmp_mnt, this time to deal with amd-style mount
points.

configure.in

index e628147..f344837 100644 (file)
@@ -31,7 +31,7 @@ fi
 # Remove some automounter nonsense (Glasgow specific gruff)
 #
 hardtop=`pwd`
-hardtop=`echo $hardtop | sed 's|^/tmp_mnt/|/|' | sed 's|^/grasp_tmp|/local/grasp_tmp|'`
+hardtop=`echo $hardtop | sed 's|^/tmp_mnt.*\(/local/.*\)$|\1|' | /sed 's|^/tmp_mnt/|/|' | sed 's|^/grasp_tmp|/local/grasp_tmp|'`
 
 echo ''
 echo "*** The top of your build tree is: $hardtop"