aboutgitcode
diff options
context:
space:
mode:
-rwxr-xr-xmbuto10
1 files changed, 5 insertions, 5 deletions
diff --git a/mbuto b/mbuto
index cd0f5eb..dbe0d5c 100755
--- a/mbuto
+++ b/mbuto
@@ -1195,6 +1195,11 @@ if [ "${LD_PRELOAD}" != "libfakeroot-sysv.so" ] && [ "$(id -u)" -ne 0 ]; then
fi
fi
+# Check needed tools, exit if any is missing
+for __l in ${TOOLS}; do
+ cmd_check "${__l}"
+done
+
# Parse options
while getopts :c:df:k:m:p:s:vh __opt; do
case ${__opt} in
@@ -1221,11 +1226,6 @@ if [ "${__fakeroot_missing}" = "y" ]; then
exit 1
fi
-# Check needed tools, exit if any is missing
-for __l in ${TOOLS}; do
- cmd_check "${__l}"
-done
-
# Create working directory
wd="$("${MKTEMP}" -d)"