summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-08-22 12:01:08 +0200
committerJohannes Huber <johu@gentoo.org>2012-08-22 16:34:20 +0200
commit57f90d5e484a7d7e4435d98dfba27dc973ac6f76 (patch)
treee5e909b22c1b00a35c3a71f2ec1fc4ce3487c365
parent2ca74ca85c99f58b9a2d5c1c8b0f109f6ee1a2b0 (diff)
downloadkde-57f90d5e484a7d7e4435d98dfba27dc973ac6f76.tar.gz
kde-57f90d5e484a7d7e4435d98dfba27dc973ac6f76.tar.bz2
kde-57f90d5e484a7d7e4435d98dfba27dc973ac6f76.zip
[eclass] Make git the default KDE_SCM.
-rw-r--r--eclass/kde4-functions.eclass8
1 files changed, 1 insertions, 7 deletions
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass
index b5c312f218e..8ec098c4cfa 100644
--- a/eclass/kde4-functions.eclass
+++ b/eclass/kde4-functions.eclass
@@ -54,20 +54,14 @@ export KDE_BUILD_TYPE
if [[ ${KDE_BUILD_TYPE} == live ]]; then
case "${KMNAME}" in
kdebase-workspace)
- KDE_SCM="git"
EGIT_REPONAME=${EGIT_REPONAME:=kde-workspace}
;;
kdebase-runtime)
- KDE_SCM="git"
EGIT_REPONAME=${EGIT_REPONAME:=kde-runtime}
;;
kdebase-apps)
- KDE_SCM="git"
EGIT_REPONAME=${EGIT_REPONAME:=kde-baseapps}
;;
- kde-workspace|kde-runtime|kde-baseapps)
- KDE_SCM="git"
- ;;
esac
fi
@@ -75,7 +69,7 @@ fi
# @DESCRIPTION:
# If this is a live package which scm does it use
# Everything else uses svn by default
-KDE_SCM="${KDE_SCM:-svn}"
+KDE_SCM="${KDE_SCM:-git}"
case ${KDE_SCM} in
svn|git) ;;
*) die "KDE_SCM: ${KDE_SCM} is not supported" ;;