summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2011-10-19 17:34:00 -0600
committerScott Moreau <oreaus@gmail.com>2011-10-19 17:34:00 -0600
commit399ff2a2376634864e32f8a82a6d8fd2637ce8b2 (patch)
tree8ca060fcc5768c4928b3b47a523ab08c34fdb61d
parentc0771b1431e4c2fd26b86ea68f8234340de1746f (diff)
downloadscripts-399ff2a2376634864e32f8a82a6d8fd2637ce8b2.tar.gz
scripts-399ff2a2376634864e32f8a82a6d8fd2637ce8b2.tar.bz2
Check if an environment variable 'first_component' is set to provide a way to start building at a specific component.
-rwxr-xr-xbuild_compiz++6
1 files changed, 6 insertions, 0 deletions
diff --git a/build_compiz++ b/build_compiz++
index 4b99b8d..67cea71 100755
--- a/build_compiz++
+++ b/build_compiz++
@@ -544,6 +544,12 @@ for COMPONENT in "${components[@]}"; do
unset config_component
+ if [[ -n "$first_component" ]]; then
+ if [[ "$first_component" != "$COMPONENT" ]]; then
+ continue
+ fi
+ fi
+
if [[ "$COMPONENT" = "libcompizconfig" || "$COMPONENT" = "compizconfig-python" || "$COMPONENT" = "ccsm" || "$COMPONENT" = "compizconfig-backend-gconf" || "$COMPONENT" = "compizconfig-backend-kconfig4" ]]; then
config_component="true"
fi