repo.or.cz
/
coreutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(NEW): Undefine to avoid warning about redefinition.
[coreutils.git]
/
tests
/
mkdir
/
p-2
blob
d007f3551522602b19d55590e2358ab8f377cf2e
1
#!/bin/sh
2
# Just like p-1, but with TMPDIR=.
3
4
:
${MKDIR=mkdir}
5
6
TMPDIR
=
.
7
8
if
test
"
$VERBOSE
"
=
yes
;
then
9
set -x
10
$MKDIR
--version
11
fi
12
13
tmp
=
$TMPDIR
/
t-mkdir.$$
14
temp_files
=
$tmp
15
rm
-rf
$temp_files
16
17
$MKDIR
--parents
$tmp
|| fail
=
1
18
19
test -d
$tmp
|| fail
=
1
20
21
rm
-rf
$temp_files
22
23
exit
$fail