Make checks for writable directory posix compliant

Reported-by: Maxim Kammerer <mk@de.su>
X-Gentoo-Bug: 398931
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=398931
This commit is contained in:
William Hubbs
2012-01-20 16:48:24 -06:00
parent 2990e5a2e3
commit 6e2fbf6a0f
5 changed files with 8 additions and 8 deletions

View File

@@ -10,11 +10,6 @@ depend()
keyword -prefix -timeout
}
dir_writable()
{
mkdir "$1"/.test.$$ 2>/dev/null && rmdir "$1"/.test.$$
}
: ${wipe_tmp:=${WIPE_TMP:-yes}}
: ${log_dmesg:=${LOG_DMESG:-yes}}