From 702a3d5b092feb07625958a31dc225863319a10e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 12 Aug 2009 12:49:05 +0200 Subject: fixed _gitname --- blazeblogger-git/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'blazeblogger-git') diff --git a/blazeblogger-git/PKGBUILD b/blazeblogger-git/PKGBUILD index 5dfd682..2458eb5 100644 --- a/blazeblogger-git/PKGBUILD +++ b/blazeblogger-git/PKGBUILD @@ -1,7 +1,7 @@ # Contributor: Florian Pritz # Contributor: Abakus pkgname=blazeblogger-git -pkgver=20090811 +pkgver=20090812 pkgrel=1 pkgdesc="is a simple-to-use but capable CMS for the command line" arch=('any') @@ -14,14 +14,14 @@ source=() md5sums=() _gitroot="git://gitorious.org/blazeblogger/mainline.git" -_gitname="blazeblogger" +_gitname="mainline" build() { cd "$srcdir" msg "Connecting to GIT server...." - if [ -d "mainline" ] ; then - cd "mainline" && git pull origin + if [ -d "${_gitname}" ] ; then + cd "${_gitname}" && git pull origin msg "The local files are updated." else git clone $_gitroot -- cgit v1.2.3-24-g4f1b