Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=5e8310cf1934b0aab6e39c3dad516cd32c38a75d
commit 5e8310cf1934b0aab6e39c3dad516cd32c38a75d Author: crazy <[email protected]> Date: Sat Feb 13 19:13:03 2016 +0100 bumppkg missing locals diff --git a/bumppkg b/bumppkg index fe4226b..0899586 100755 --- a/bumppkg +++ b/bumppkg @@ -60,11 +60,11 @@ get_root() src_cleanup() { Fmessage "cleaning up old source files" - root="`get_root`" + local root="`get_root`" if [ "$F_makepkg_scm" = "git" ]; then git clean -x -d -f . else - local i workdir + local i workdir rootlist darcsdir workdir=`pwd|sed "s|$root||"` rootlist=`mktemp` @@ -93,7 +93,7 @@ update_pkgrel() update_pkgver() { Fmessage "updating \$pkgver and \$pkgrel" - newpkgver=`chkworld |grep != |sed 's/.*!= \([^ ]*\) .*/\1/'` + local newpkgver=`chkworld |grep != |sed 's/.*!= \([^ ]*\) .*/\1/'` if [[ "$newpkgver" =~ " " ]] || [ -z "$newpkgver" ]; then die "Dunno what is the new version or this package is already up to date!" fi _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
