From f46dad7eb27fa71836dbda144e256454aa63784f Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 26 Sep 2015 17:39:56 -0500 Subject: Minor fix to db-sync-arm --- db-sync-arm | 3 +-- 1 file changed, 1 insertion(+), 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}" -- cgit v1.2.3