]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: improve the info about $PATH in README-prereq
authorPádraig Brady <P@draigBrady.com>
Mon, 28 Dec 2009 13:01:51 +0000 (13:01 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 30 Dec 2009 02:09:43 +0000 (02:09 +0000)
* README-prereq: It wasn't obvious that the $PATH should
be set before building any of the prerequisite packages,
so move that information up.

README-prereq

index 686160ae5f7c85d2658a41052c2257943cbad761..54cdb9cd4379d1b74393363dc5061b38e27d2775 100644 (file)
@@ -17,7 +17,11 @@ Note please try to install/build official packages for your system.
 If these are not available then one can make them available only to
 the coreutils build using the following instructions.  Even if the
 official packages for your system are too old, please install them
-as they may be required to build the newer versions.
+as they may be required to build the newer versions.  The examples
+below build into $HOME/coreutils/deps/, so first ensure that your
+$PATH is set correctly, which can be done for the current shell like:
+
+  export PATH=$HOME/coreutils/deps/bin:$PATH
 
 * autoconf *
 
@@ -50,7 +54,4 @@ requires version 1.10a or newer, as well as the xz program itself.
   ./configure --prefix=$HOME/coreutils/deps
   make install
 
-Now we can build coreutils as described in README-hacking
-as long as $PATH starts with $HOME/coreutils/deps/bin, which
-one can set for the current shell like:
-  $ export PATH=$HOME/coreutils/deps/bin:$PATH
+Now one can build coreutils as described in README-hacking.