aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimage.sh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-11-09 15:14:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-11-14 20:10:39 +0000
commitd85035c73d68caf2ef06038e2830c2f3644bf650 (patch)
tree287d7a37dcad59812b3f5fedde336c054d6b3933 /scripts/mkimage.sh
parent46f65fad4cce984a5f3cb781ee2fe18933665862 (diff)
downloadaports-d85035c73d68caf2ef06038e2830c2f3644bf650.tar.bz2
aports-d85035c73d68caf2ef06038e2830c2f3644bf650.tar.xz
scripts/mkimage.sh: fix typo
Diffstat (limited to 'scripts/mkimage.sh')
-rw-r--r--scripts/mkimage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkimage.sh b/scripts/mkimage.sh
index c94e415fe9..2490a87f43 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"