Re: Syntax and Logic on a Build Script

2010-07-14 Thread Andrew Benton
On 14/07/10 01:20, Dan McGhee wrote: BUILD=$HOME/$package-build cd $BUILD #Double sanity check--visual and logical pwd if [ $(pwd) -ne $BUILD ] echo Check the build directory creation exit Status 1 It seems that you're trying to test whether $BUILD exists after you've cd'd into it. I

Syntax and Logic on a Build Script

2010-07-13 Thread Dan McGhee
I'm building against LFS-latest SVN on a 64-bit system. I use the More Control and Package User package management system and have, over the years, developed a build script for each {,B}LFS package. Today I'm working on Chapter 6.9, GlibC-2.11.2. Currently the build of GlibC is cooking

Re: Syntax and Logic on a Build Script

2010-07-13 Thread Neal Murphy
On Tuesday 13 July 2010 20:20:56 Dan McGhee wrote: BUILD=$HOME/$package-build cd $BUILD #Double sanity check--visual and logical pwd if [ $(pwd) -ne $BUILD ] echo Check the build directory creation exit Status 1 You seem to have left out the 'then' and the