diff options
author | 2024-01-20 20:54:28 -0800 | |
---|---|---|
committer | 2024-01-20 20:54:28 -0800 | |
commit | fe52590d1b76f5c612e9c30494ad2e968b7a7366 (patch) | |
tree | dc4e50eb7ef663586b5786466ccb6ef60016d11c | |
parent | fix: dist should sort versions properly (diff) | |
download | gitolite-gentoo-fe52590d1b76f5c612e9c30494ad2e968b7a7366.tar.gz gitolite-gentoo-fe52590d1b76f5c612e9c30494ad2e968b7a7366.tar.bz2 gitolite-gentoo-fe52590d1b76f5c612e9c30494ad2e968b7a7366.zip |
fix: dist should only use files known to git
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | dist.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ else tag=$1 fi -for foo in $(find ${dirs} -type f); do +for foo in $(git ls-files ${dirs} ); do [ "${foo:$((${#foo}-3))}" = ".pm" ] && { perl $perl_opts -c $foo; continue; } [ -n "$(grep -m 1 '^#!/usr/bin/perl' $foo)" ] && { perl $perl_opts -c $foo; continue; } done |