From 0d58a7c0a4307bb97d6fe997ccf510c15f8a05b4 Mon Sep 17 00:00:00 2001 From: Nicolas Bock Date: Thu, 22 Aug 2019 06:05:39 -0600 Subject: [PATCH] Make tags more verbose Signed-off-by: Nicolas Bock --- update_tags.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/update_tags.sh b/update_tags.sh index 0f9fc92c5..7a148cbac 100755 --- a/update_tags.sh +++ b/update_tags.sh @@ -1,8 +1,10 @@ #!/bin/bash -basedir=$(dirname $0) -readarray -t files < <(git ls-files '*.c' '*.h' '*.F90') +set -x + +basedir=$(readlink --canonicalize $(dirname $0)) pushd "${basedir}" || exit +readarray -t files < <(git ls-files '*.c' '*.h' '*.F90') ctags "${files[@]}" etags "${files[@]}" popd || exit