change bin/find-missing-links.sh to print topdir relative paths
The `bin/find-missing-links.sh` tool now will print missing files relative to "topdir", the root of the git repo. Changed `bin/find-missing-links.sh` VERSION from "1.0 2024-04-28" to "1.1 2024-04-28".
This commit is contained in:
1 parent
f2eec3d4ea
commit
6491c061b7
1 file changed
+2
-2
@@ -103,7 +103,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
|
||||
|
||||
# set variables referenced in the usage message
|
||||
#
|
||||
export VERSION="1.0 2024-04-28"
|
||||
export VERSION="1.1 2024-04-28"
|
||||
NAME=$(basename "$0")
|
||||
export NAME
|
||||
export V_FLAG=0
|
||||
@@ -517,7 +517,7 @@ export MISSING_LINK_COUNT
|
||||
# report on any missing links
|
||||
#
|
||||
if [[ -s $TMP_MISSING_LINK ]]; then
|
||||
cat "$TMP_MISSING_LINK" 1>&2
|
||||
sed -e "s;^$TOPDIR/;;" "$TMP_MISSING_LINK" 1>&2
|
||||
fi
|
||||
|
||||
# All Done!!! -- Jessica Noll, Age 2
|
||||
|
||||
Reference in new issue
Block a user