}
msg () {
- echo "efi-boot-update: $*" >&2
+ echo -E "efi-boot-update: $*" >&2
}
verbose () {
if is_yes "$VERBOSE" ; then
- echo "efi-boot-update: $*" >&2
+ echo -E "efi-boot-update: $*" >&2
fi
}
verbose_cmd () {
if is_yes "$VERBOSE" ; then
- echo "+$*" >&2
+ echo -E "+$*" >&2
fi
"$@"
}
if [ "$item" = "$2" ] ; then
continue
fi
- echo -n "$item "
+ echo -nE "$item "
done
}
binary="$DESTDIR/$binary"
fi
binary="${binary#/boot/efi}"
- binary="$(echo -n "$binary"|sed -e's;/;\\;g')"
+ binary="$(echo -nE "$binary"|sed -e's;/;\\;g')"
if [ -n "$bootnum" ] ; then
echo -n "$args" | verbose_cmd $EFIBOOTMGR $EFIBOOTMGR_OPTS --quiet \