]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/Dothem: fix typo that prevented ramdisk testpen from getting used
authorJunio C Hamano <gitster@pobox.com>
Tue, 23 Sep 2014 17:48:58 +0000 (10:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Sep 2014 17:48:58 +0000 (10:48 -0700)
Dothem

diff --git a/Dothem b/Dothem
index 7f18d86a40f035c9c73fc978ce80b4a00fad4ba6..f8affa86ab3e03028fabae7b92fd5195f25b98fa 100755 (executable)
--- a/Dothem
+++ b/Dothem
@@ -42,7 +42,7 @@ for TRASH in /dev/shm /tmp ""
 do
        if test -n "$TRASH" &&
           mkdir -p "$TRASH/testpen" 2>/dev/null &&
-          test -w "TRASH/testpen"
+          test -w "$TRASH/testpen"
        then
                TRASH="--root=$(cd "$TRASH/testpen" && /bin/pwd)"
                break