diff options
Diffstat (limited to 'mips64el/mipsrelease')
-rwxr-xr-x | mips64el/mipsrelease | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mips64el/mipsrelease b/mips64el/mipsrelease index 0d14c72..5d0034d 100755 --- a/mips64el/mipsrelease +++ b/mips64el/mipsrelease @@ -34,6 +34,11 @@ get_full_version() { repo=$1; shift +if [ -z "${repo}" ]; then + error "Empty repo" + exit 1 +fi + # Get all needed sources source PKGBUILD fullver=$(get_full_version ${epoch:-0} ${pkgver} ${pkgrel}) |