Browse Source

Meta/Dothem: do not chdir to something you haven't created yet

todo
Junio C Hamano 13 years ago
parent
commit
67600125e4
  1. 2
      Dothem

2
Dothem

@ -40,7 +40,7 @@ done


for TRASH in /dev/shm /tmp "" for TRASH in /dev/shm /tmp ""
do do
if test -n "$TRASH" && test -d "$TRASH" && test -w "$TRASH" if test -n "$TRASH" && mkdir -p "$TRASH/testpen" && test -w "TRASH/testpen"
then then
TRASH="--root=$(cd "$TRASH/testpen" && /bin/pwd)" TRASH="--root=$(cd "$TRASH/testpen" && /bin/pwd)"
break break

Loading…
Cancel
Save