mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-03-26 06:44:51 +02:00
24 lines
284 B
Bash
Executable File
24 lines
284 B
Bash
Executable File
#!/bin/sh
|
|
# Just like p-1, but with TMPDIR=.
|
|
|
|
: ${MKDIR=mkdir}
|
|
|
|
TMPDIR=.
|
|
|
|
if test "$VERBOSE" = yes; then
|
|
set -x
|
|
$MKDIR --version
|
|
fi
|
|
|
|
tmp=$TMPDIR/t-mkdir.$$
|
|
temp_files=$tmp
|
|
rm -rf $temp_files
|
|
|
|
$MKDIR --parents $tmp || fail=1
|
|
|
|
test -d $tmp || fail=1
|
|
|
|
rm -rf $temp_files
|
|
|
|
exit $fail
|