summaryrefslogtreecommitdiffstats
path: root/build-repo
diff options
context:
space:
mode:
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