Merge git://git.denx.de/u-boot-dm
[oweals/u-boot.git] / test / fs / fs-test.sh
index 6f0a3455ed392bbad75d3cf9c987be0b283ed98f..fc41c04c15e66c14e2a0272be39fe8211bc1a069 100755 (executable)
@@ -58,7 +58,7 @@ GB2p5="${MOUNT_DIR}/${BIG_FILE}"
 # Check if the prereq binaries exist, or exit
 function check_prereq() {
        for prereq in $PREREQ_BINS; do
-               if [ ! -x `which $prereq` ]; then
+               if [ ! -x "`which $prereq`" ]; then
                        echo "Missing $prereq binary. Exiting!"
                        exit
                fi