summaryrefslogtreecommitdiffstats
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-10 13:05:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-10 13:05:56 +0000
commitd8907beacb27e8d3aa97baffb80ae55dc2c49594 (patch)
tree7ce123273b38d52e5b3d5acd59fc0a1bbeee4317 /abuild.in
parent40ad19a1d04371e1b172e024aa4bb14c370a5ef5 (diff)
downloadabuild-d8907beacb27e8d3aa97baffb80ae55dc2c49594.tar.bz2
abuild-d8907beacb27e8d3aa97baffb80ae55dc2c49594.tar.xz
abuild, alpine.mk: use --repository instead of --repo
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/abuild.in b/abuild.in
index 08a57e9..2bb0ed3 100755
--- a/abuild.in
+++ b/abuild.in
@@ -734,7 +734,7 @@ builddeps() {
uninstall_after=".makedepends-$pkgname $uninstall_after"
if [ -n "$install_deps" ] && [ -z "$recursive" ]; then
- $SUDO apk add --repo "$apkcache" \
+ $SUDO apk add --repository "$apkcache" \
--virtual .makedepends-$pkgname $deps \
&& return 0
fi
@@ -743,7 +743,7 @@ builddeps() {
# find dependencies that are installed but missing in repo.
for i in $deps; do
- local m=$(apk search --repo "$apkcache" ${i%[<>=]*})
+ local m=$(apk search --repository "$apkcache" ${i%[<>=]*})
if [ -z "$m" ]; then
missing="$missing $i"
fi
@@ -756,7 +756,7 @@ builddeps() {
msg "Entering $dir"
cd "$dir" && $0 -k -r apkcache || return 1
done
- $SUDO apk add -u --repo "$apkcache" \
+ $SUDO apk add -u --repository "$apkcache" \
--virtual .makedepends-$pkgname $deps
}
@@ -906,7 +906,7 @@ newaport() {
installdeps() {
local deps i
- sudo apk add --repo "$apkcache" --virtual .makedepends-$pkgname \
+ sudo apk add --repository "$apkcache" --virtual .makedepends-$pkgname \
$makedepends
}