1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-23 23:34:12 +03:00

test: fix run script use of non standard \+ in sed regex

This commit is contained in:
Maxime Coste 2018-02-07 19:38:13 +11:00
parent e2c1d44a7f
commit fbe68f375e

View File

@ -47,7 +47,7 @@ main() {
[ -f $file ] && cp $file $work/$dir/
done
cd $work/$dir;
indent="$(echo "$dir/" | sed -e 's|[^/]*/\+| |g')"
indent="$(echo "$dir/" | sed -e 's|[^/]*//*| |g')"
name=${PWD##*/}
if [ ! -f cmd ]; then
echo "$indent$name"