summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2011-10-19 18:39:36 -0600
committerScott Moreau <oreaus@gmail.com>2011-10-19 18:39:36 -0600
commit55d59eacb173cf857d48f6dc96c9b54291ee32a9 (patch)
tree8202817d963b6f98dadf114746078d1392b65eef
parent625b98b645ac1217720da6cfd0389db961d94037 (diff)
downloadscripts-55d59eacb173cf857d48f6dc96c9b54291ee32a9.tar.gz
scripts-55d59eacb173cf857d48f6dc96c9b54291ee32a9.tar.bz2
Fix first_component semantics.
-rwxr-xr-xbuild_compiz++5
1 files changed, 3 insertions, 2 deletions
diff --git a/build_compiz++ b/build_compiz++
index e995b84..9889209 100755
--- a/build_compiz++
+++ b/build_compiz++
@@ -565,14 +565,15 @@ for COMPONENT in "${components[@]}"; do
continue
fi
- unset config_component
-
if [[ -n "$first_component" ]]; then
if [[ "$first_component" != "$COMPONENT" ]]; then
+ ubset first_component
continue
fi
fi
+ unset config_component
+
if [[ "$COMPONENT" = "libcompizconfig" || "$COMPONENT" = "compizconfig-python" || "$COMPONENT" = "ccsm" || "$COMPONENT" = "compizconfig-backend-gconf" || "$COMPONENT" = "compizconfig-backend-kconfig4" ]]; then
config_component="true"
fi