From d85035c73d68caf2ef06038e2830c2f3644bf650 Mon Sep 17 00:00:00 2001 From: Natanael Copa <ncopa@alpinelinux.org> Date: Wed, 9 Nov 2016 15:14:57 +0000 Subject: [PATCH] scripts/mkimage.sh: fix typo --- scripts/mkimage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mkimage.sh b/scripts/mkimage.sh index c94e415fe985..2490a87f43cf 100644 --- a/scripts/mkimage.sh +++ b/scripts/mkimage.sh @@ -145,7 +145,7 @@ build_profile() { # Construct final image local _imgid=$(echo -n $_my_sections | sort | checksum) DESTDIR=$WORKDIR/image-$_imgid-$ARCH-$PROFILE - if [ "_$dirty" = "yes" -o ! -e "$DESTDIR" ]; then + if [ "$_dirty" = "yes" -o ! -e "$DESTDIR" ]; then msg "Creating $output_filename" if [ -z "$_simulate" ]; then # Merge sections @@ -160,7 +160,7 @@ build_profile() { fi fi - if [ "_$dirty" = "yes" -o ! -e "$output_filename" ]; then + if [ "$_dirty" = "yes" -o ! -e "$output_filename" ]; then # Create image output_format="${image_ext//[:\.]/}" create_image_${output_format} || _fail="yes" -- GitLab