From 0af8219cee87b46e2e8e9b599dd5c1b309b7a798 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 19 Nov 2018 04:11:21 +0000 Subject: [PATCH] scripts/list-source-files: Include soft links in the release archive git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7818 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/list-source-files | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/list-source-files b/scripts/list-source-files index f1f3e2684..f4f00f80d 100755 --- a/scripts/list-source-files +++ b/scripts/list-source-files @@ -17,7 +17,7 @@ list_source_files() { grep -vE '^[D?]|^Performing|^$' | \ cut -c3- | \ while read -r a b c f; do - if [ -f "$f" ]; then + if [ -f "$f" -o -h "$f" ]; then echo "$a $b $c" >/dev/null echo "$f" fi @@ -39,7 +39,7 @@ list_source_files() { hg manifest fi else - echo "Not under source control: $1 ?" >&2 + ( cd "$d" && find -type f -o -type l | sed 's|^\./||' ) fi }