diff options
author | Daniel Baumann <daniel@debian.org> | 2008-09-29 20:11:09 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:42 +0100 |
commit | 4718372f13b011b51514e8a4c6fbf92460572a3f (patch) | |
tree | 2e8564de955736c71e91ac4b282bf45e8591e5e8 | |
parent | 15a8c9ab3d57c0467ddc375e5e7685612ee1abef (diff) | |
download | live-build-4718372f13b011b51514e8a4c6fbf92460572a3f.zip live-build-4718372f13b011b51514e8a4c6fbf92460572a3f.tar.gz |
Automatically correct LH_SETUP value if the configured losetup cannot be found.
-rwxr-xr-x | functions/defaults.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index b36f1d0..0c3989f 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -164,7 +164,7 @@ Set_defaults () fi # Setting losetup - if [ -z "${LH_LOSETUP}" ] + if [ -z "${LH_LOSETUP}" ] || [ ! -x /sbin/${LH_LOSETUP} ] then # Workaround for loop-aes-utils divertion # (loop-aes-utils' losetup lacks features). |