Skip to content
Snippets Groups Projects
Commit 4a5ecbac authored by ale's avatar ale
Browse files

Remove trailing slash on dist name

parent 8db76375
No related branches found
No related tags found
No related merge requests found
......@@ -174,6 +174,7 @@ if [ $# -eq 0 ]; then
exit 1
fi
for dir in "$@" ; do
dir="${dir%/}" # Remove trailing slash if present
[ -d "${dir}" ] || continue
(if ! flock --wait 300 9 ; then
echo "Could not acquire lock on ${dir}" >&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment