Skip to content
Snippets Groups Projects
Commit 472087a7 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

contrib/lsupgrade.sh: fix path output

parent 55d95f16
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ fi ...@@ -26,7 +26,7 @@ fi
pushd "$(dirname "$0")/.." >/dev/null pushd "$(dirname "$0")/.." >/dev/null
find package packages -name Makefile | while read makefile; do find ./package packages -name Makefile | while read makefile; do
dir="$(dirname "$makefile")" dir="$(dirname "$makefile")"
pushd "$dir" >/dev/null pushd "$dir" >/dev/null
...@@ -36,7 +36,7 @@ find package packages -name Makefile | while read makefile; do ...@@ -36,7 +36,7 @@ find package packages -name Makefile | while read makefile; do
package="$(basename "$dir")" package="$(basename "$dir")"
for file in "${SUFFIX}"/*; do for file in "${SUFFIX}"/*; do
echo "${GREEN}$(basename "${file}")${RESET}" "(${BLUE}${repo}${RESET}/${dirname}/${RED}${package}${RESET}/${SUFFIX})" echo "${GREEN}$(basename "${file}")${RESET}" "(${BLUE}${repo}${RESET}/${dirname}${dirname:+/}${RED}${package}${RESET}/${SUFFIX})"
done done
popd >/dev/null popd >/dev/null
done | sort done | sort
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment