summaryrefslogtreecommitdiffstats
path: root/build-repo
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-06-14 06:10:21 +0200
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-06-14 06:10:21 +0200
commite36285e238ab2216b93b83a33d9d74c95c017ce0 (patch)
tree0e0910608f83907cecdb8f4bef557c4e7b13dae4 /build-repo
parent7cb0c74b3748391b990ee7ebe5d307d3c2feeaaf (diff)
downloadalpine-packages-e36285e238ab2216b93b83a33d9d74c95c017ce0.tar.gz
alpine-packages-e36285e238ab2216b93b83a33d9d74c95c017ce0.tar.bz2
alpine-packages-e36285e238ab2216b93b83a33d9d74c95c017ce0.tar.lz
alpine-packages-e36285e238ab2216b93b83a33d9d74c95c017ce0.zip

feat: some scripting

Diffstat (limited to 'build-repo')
-rwxr-xr-xbuild-repo4
1 files changed, 1 insertions, 3 deletions
diff --git a/build-repo b/build-repo
index 8dc08a7..eb0b492 100755
--- a/build-repo
+++ b/build-repo
@@ -2,8 +2,6 @@
set -eax
# note: we assume `abuild-keygen -a -i` has alr been run
ALL_TARGET="$PWD/target"
-if [[ "$RM_TARGET" != "" ]]; then rm -rf "$ALL_TARGET"; fi
-mkdir -p "$ALL_TARGET"
export APORTSDIR="$PWD/src"
for REPOPATH in ./src/*; do
cd "$REPOPATH";
@@ -13,7 +11,7 @@ for REPOPATH in ./src/*; do
cd "$PKG";
PKG="$(basename "$PKG")";
- if [[ "$FILTER" == "" ]] || [[ "$FILTER" == "$REPO" ]] || [[ "$FILTER" == "$PKG" ]]; then
+ if [[ "$FILTER" == "" ]] || [[ "$FILTER" == "$REPO" ]] || [[ "$FILTER" == "$PKG" ]] || [[ "$FILTER" == "$REPO/$PKG" ]]; then
if [[ "$NEWSUM" == "1" ]]; then abuild checksum; fi
if [[ "$ROOTBLD" != "0" ]]; then
abuild -P "$ALL_TARGET" rootbld