Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159598 - missing "then" in "if" statement in stage4-chroot.sh
Summary: missing "then" in "if" statement in stage4-chroot.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-12-31 14:32 UTC by Andrew Gaffney (RETIRED)
Modified: 2007-02-06 22:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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