diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-02 15:12:59 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 20:01:06 -0600 |
commit | 12da94c924cb29dd83c4bbf6fd50d1d1fc660312 (patch) | |
tree | 11d72d386908df40bce89265403f9ad249da0230 /src/fullpkg/fullpkg-build | |
parent | 24073402dd3d4324f117f12abc3c921cc3dc3750 (diff) |
use common.sh:get_full_version() universally
Diffstat (limited to 'src/fullpkg/fullpkg-build')
-rwxr-xr-x | src/fullpkg/fullpkg-build | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/fullpkg/fullpkg-build b/src/fullpkg/fullpkg-build index cbaea91..20e8c88 100755 --- a/src/fullpkg/fullpkg-build +++ b/src/fullpkg/fullpkg-build @@ -25,18 +25,6 @@ list_pkgs() { } } -# return : full version spec, including epoch (if necessary), pkgver, pkgrel -# usage : get_fullver( ${epoch:-0}, $pkgver, $pkgrel ) -get_fullver() { - if [[ $1 -eq 0 ]]; then -# zero epoch case, don't include it in version - echo $2-$3 - else - echo $1:$2-$3 - fi - -} - ## Check all build_dir, fails if one PKGBUILD is nonfree check_nonfree() { find "$build_dir" -name PKGBUILD \ |