X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Flib-core;h=6cdffeb155a479288124a98d9e613016c04b4dcb;hp=cbfda462382fb303fb4f8ad7120c52d998df8b45;hb=a5ab9e488522b8fb74a6eadc4a7acf9199e782c4;hpb=20d3465b51a39337e1117868f80fbc074d3f6b85 diff --git a/tests/lib-core b/tests/lib-core index cbfda462..6cdffeb1 100644 --- a/tests/lib-core +++ b/tests/lib-core @@ -27,7 +27,7 @@ t-set-using-tmp () { } t-filter-out-git-hyphen-dir () { - local pathent=$(type -p git-rev-parse ||:) + local pathent; pathent=$(type -p git-rev-parse ||:) case "$pathent" in '') return ;; esac pathent=${pathent%/*} local path=":$PATH:"