Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 159598

Summary: missing "then" in "if" statement in stage4-chroot.sh
Product: Gentoo Hosted Projects Reporter: Andrew Gaffney (RETIRED) <agaffney>
Component: CatalystAssignee: Gentoo Catalyst Developers <catalyst>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Gaffney (RETIRED) gentoo-dev 2006-12-31 14:32:44 UTC
In the last commit you made on targets/stage4/stage4-chroot.sh, you accidentally removed the "then" for the "if" statement on line 21:

 if [ -n "${clst_use}" ]
-then 
-	export USE="${USE} ${clst_HOSTUSE}"
-else	
-	USE="${clst_use}"
+	USE="${clst_HOSTUSE} ${clst_use}"
 fi

This causes a syntax error in 2.0.1. I don't think I really need to provide a patch on this one ;)
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2007-01-02 09:14:47 UTC
Fixed in SVN...
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-02-06 22:54:32 UTC
Fixed in 2.0.2