summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-09-26 17:39:56 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-09-26 17:39:56 -0500
commitf46dad7eb27fa71836dbda144e256454aa63784f (patch)
tree44507c405b05935a879e13d17f28361d57e2a4c0
parent4c88b9e238aac2c242a9bd7f0a75f95e88bdff80 (diff)
Minor fix to db-sync-arm
-rwxr-xr-xdb-sync-arm3
1 files changed, 1 insertions, 2 deletions
diff --git a/db-sync-arm b/db-sync-arm
index fc6a080..155731a 100755
--- a/db-sync-arm
+++ b/db-sync-arm
@@ -156,8 +156,7 @@ init() {
# Search packages in whitelist to create symlinks
sed -i 's/^/\^/' "/tmp/${_repo}-${_arch}.whitelist"
- ls "${FTP_BASE}/${pkgpool}/" \
- grep -w -f "/tmp/${_repo}-${_arch}.whitelist" \
+ ls "${FTP_BASE}/${pkgpool}/" | grep -w -f "/tmp/${_repo}-${_arch}.whitelist" \
> "/tmp/${_repo}-${_arch}.pkgwhitelist"
msg "Putting symlinks in ${_repo}/os/${_arch}"