mdw/build: Keep track of the original source directory in `$toppath'.
[profile] / bin / mdw-build
index 24ae04a..01b737c 100755 (executable)
@@ -241,7 +241,8 @@ while [ ! -f configure.ac -a ! -f configure.in -a \
   esac
   cd ..
 done
-assign srcpath $(pwd)
+assign toppath $(pwd)
+assign srcpath $toppath
 
 ## Build any necessary qualifiers.
 qual= sep=.