blob: bf94a48498a703503564dc0fad17e0f14a6b2b83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From e98bdd23b0582e26c40abc545a9ff1cf348dfe86 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Mon, 13 Jan 2014 12:36:07 +0000
Subject: [PATCH] abuild: exit with error if pkgrel is unset
---
abuild.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/abuild.in b/abuild.in
index 3a904f6..c37af4d 100755
--- a/abuild.in
+++ b/abuild.in
@@ -1921,7 +1921,7 @@ APKBUILD=$(readlink -f "$APKBUILD")
startdir="${APKBUILD%/*}"
srcdir=${srcdir:-"$startdir/src"}
pkgbasedir=${pkgbasedir:-"$startdir/pkg"}
-pkgrel=0
+
repo=${startdir%/*}
repo=${repo##*/}
--
1.8.5.2
|