summaryrefslogtreecommitdiff
path: root/db-update
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-09-13 11:09:35 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-09-13 11:09:35 +0200
commit5f5b5b10e700af5d7e6be352cde1e1e3380e1d3a (patch)
treeec2a8c8b7b737dfca0141170c6cba5d3ab8f3bfc /db-update
parentd5aa8796a3b3e7314ab2ae0ec566e38a8de8bc28 (diff)
db-update: Ignore repos in repos.
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-update b/db-update
index 875b87f..0359697 100755
--- a/db-update
+++ b/db-update
@@ -9,7 +9,7 @@ if [ $# -ge 1 ]; then
fi
# Find repos with packages to release
-repos=($(find "${STAGING}" -mindepth 1 -type d ! -empty -printf '%f ' 2>/dev/null))
+repos=($(find "${STAGING}" -mindepth 1 -maxdepth 1 -type d ! -empty -printf '%f ' 2>/dev/null))
if [ $? -ge 1 ]; then
die "Could not read ${STAGING}"
fi