From f15ec397c5729d792c020eede7132637d2135f9d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 30 Sep 2013 12:05:06 -0400 Subject: librerelease: I was dumb and messed up the flags to `find`. Add unit tests. --- src/abslibre-tools/librerelease | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/abslibre-tools') diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease index 86ee4c8..3baa8ad 100755 --- a/src/abslibre-tools/librerelease +++ b/src/abslibre-tools/librerelease @@ -53,7 +53,7 @@ readonly rsync_flags=( # Functions #################################################################### list0_files() { - find "${WORKDIR}/staging" -L -type f -print0 + find -L "${WORKDIR}/staging" -type f -print0 } # This function is taken almost verbatim from makepkg @@ -180,7 +180,7 @@ pretty_print_packages() { find "$WORKDIR/staging/" -mindepth 1 -type d -not -empty -printf '%f\n' | sort | while read -r repo; do msg2 "$repo" - find "${WORKDIR}/staging/${repo}" -L -type f -printf "%f\n" | sort + find -L "${WORKDIR}/staging/${repo}" -type f -printf "%f\n" | sort done } -- cgit v1.2.2