index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-02-28 17:50:23 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-28 17:50:23 -0600 |
commit | 09ce8b446c01e59a0eb0523846ce6f339ef25fa5 (patch) | |
tree | 9b1105babb144af1aa5129b12c75ce0f3c738eea /scripts/makepkg.sh.in | |
parent | 07538b948a0198808dcbe68bf838e520eb341fb3 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 12 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 16dc0b8f..23081fec 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1356,27 +1356,27 @@ devel_check() { oldpkgver=$pkgver if [[ -n ${_darcstrunk} && -n ${_darcsmod} ]] ; then type -p darcs >/dev/null || return 0 - msg "$(gettext "Determining latest darcs revision...")" + msg "$(gettext "Determining latest %s revision...")" 'darcs' newpkgver=$(date +%Y%m%d) elif [[ -n ${_cvsroot} && -n ${_cvsmod} ]] ; then type -p cvs >/dev/null || return 0 - msg "$(gettext "Determining latest cvs revision...")" + msg "$(gettext "Determining latest %s revision...")" 'cvs' newpkgver=$(date +%Y%m%d) elif [[ -n ${_gitroot} && -n ${_gitname} ]] ; then type -p git >/dev/null || return 0 - msg "$(gettext "Determining latest git revision...")" + msg "$(gettext "Determining latest %s revision...")" 'git' newpkgver=$(date +%Y%m%d) elif [[ -n ${_svntrunk} && -n ${_svnmod} ]] ; then type -p svn >/dev/null || return 0 - msg "$(gettext "Determining latest svn revision...")" + msg "$(gettext "Determining latest %s revision...")" 'svn' newpkgver=$(LC_ALL=C svn info $_svntrunk | sed -n 's/^Last Changed Rev: \([0-9]*\)$/\1/p') elif [[ -n ${_bzrtrunk} && -n ${_bzrmod} ]] ; then type -p bzr >/dev/null || return 0 - msg "$(gettext "Determining latest bzr revision...")" + msg "$(gettext "Determining latest %s revision...")" 'bzr' newpkgver=$(bzr revno ${_bzrtrunk}) elif [[ -n ${_hgroot} && -n ${_hgrepo} ]] ; then type -p hg >/dev/null || return 0 - msg "$(gettext "Determining latest hg revision...")" + msg "$(gettext "Determining latest %s revision...")" 'hg' if [[ -d ./src/$_hgrepo ]] ; then cd ./src/$_hgrepo hg pull |