-if [ "$EDJE_CVS" == "y" ]; then
+if [ "$EDJE_BRANCH" == "scm" ]; then
cd $SOURCE_DIRECTORY &&
#
diff --git a/e-17/embryo/HISTORY b/e-17/embryo/HISTORY
index e7dfab1..ee56259 100644
--- a/e-17/embryo/HISTORY
+++ b/e-17/embryo/HISTORY
@@ -1,3 +1,6 @@
+2011-10-22 Ladislav Hagara <hgr AT vabo.cz>
+ * PRE_BUILD: prepare_select_branch fix
+
2011-10-20 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: No longer hosted on SF, moved to enlightenment.org