chiark / gitweb /
mdw/build: Keep track of the original source directory in `$toppath'.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 13 Aug 2017 17:33:36 +0000 (18:33 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 13 Aug 2017 17:33:36 +0000 (18:33 +0100)
bin/mdw-build

index 24ae04adeae90e693846dce1e1cb6f011ef26a1e..01b737c69dfab4871620b947585a43baa1f7d135 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=.