Add /sbin to the PATH so that mkntfs is found on Debian.
TEST_SUBDIR=tmpdir_test-imagex-ntfs
TEST_SUBDIR=tmpdir_test-imagex-ntfs
+# In Debian, mkntfs is at /sbin/mkntfs but /sbin is not on the $PATH by default.
+PATH+=":/sbin"
+
__do_unmount() {
for ((i = 0; i < 10; i++)); do
if fusermount -z -u $1; then
__do_unmount() {
for ((i = 0; i < 10; i++)); do
if fusermount -z -u $1; then
- if ! mkntfs --force --fast $1 > /dev/null; then
+ if ! mkntfs --force --fast $1 >/dev/null; then
error "Could not create NTFS volume \"$1\"! Make sure ntfsprogs are installed."
fi
}
error "Could not create NTFS volume \"$1\"! Make sure ntfsprogs are installed."
fi
}