diff --git a/BLFS/envars.conf b/BLFS/envars.conf
index 30c2472..e4b5a48 100644
--- a/BLFS/envars.conf
+++ b/BLFS/envars.conf
@@ -4,7 +4,7 @@
#
# $Id$
#
-# Set default SRC_ARCHIVE and FTP_DIR
+# Set default envars used in the build scripts
#
#####
@@ -14,9 +14,15 @@
# if the user has the right priviledges.
export SRC_ARCHIVE=$SRC_ARCHIVE
-# --- Server used if the file isn't found in SRC_ARCHIVE.
+#--- Server used if the file isn't found in SRC_ARCHIVE.
# As a last resort, the file will dowloaded from upstream, if possible.
#
# The server path MUST be set as listed in
# http://www.linuxfromscratch.org/blfs/download.html
export FTP_SERVER=ftp://anduin.linuxfromscratch.org/BLFS/
+
+
+#--- The sources directory.
+# Full path to the top level directory where packages will be stored,
+# unpacked, and compiled.
+export SRC_DIR=$HOME/sources
diff --git a/BLFS/libs/scripts.xsl b/BLFS/libs/scripts.xsl
index 6f37254..46f1c8f 100644
--- a/BLFS/libs/scripts.xsl
+++ b/BLFS/libs/scripts.xsl
@@ -97,14 +97,14 @@
PKG_DIR=
-
+ SRC_DIR=$SRC_DIR
- cd ~/sources/$PKG_DIR
+ cd $SRC_DIR/$PKG_DIR
rm -rf $UNPACKDIR unpacked
@@ -125,8 +125,8 @@
- mkdir -p ~/sources/$PKG_DIR
- cd ~/sources/$PKG_DIR
+ mkdir -p $SRC_DIR/$PKG_DIR
+ cd $SRC_DIR/$PKG_DIR