summaryrefslogtreecommitdiff
path: root/mips64el
diff options
context:
space:
mode:
Diffstat (limited to 'mips64el')
-rwxr-xr-xmips64el/mipsrelease5
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})