summaryrefslogtreecommitdiff
path: root/tests/lib-core
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib-core')
-rw-r--r--tests/lib-core2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib-core b/tests/lib-core
index cbfda46..6cdffeb 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:"