Commit 5bede058 authored by Francesco Bonanno's avatar Francesco Bonanno

Trying fixing Makefile interception of if

parent 6ff4444e
Pipeline #37 failed with stage
in 2 minutes and 20 seconds
......@@ -46,7 +46,7 @@ all:
set -e; sudo ./build_parrotsec_image.sh 2>&1 | tee $(LOGFILEIMG); \
else
$(error Something went wrong, check the logs please)
endif
fi
if [ -f parrotsec-rpi/parrot-armhf-image.img ]; then \
sudo mv parrotsec-rpi/parrot-armhf-image.img $(IMAGENAME); \
......@@ -59,7 +59,7 @@ all:
sha1sum $(TARXZFILE) > $(SHA1SUMTARXZFILE); \
else
$(error Something went wrong, check the logs please)
endif
fi
# Used only in arm64v8 gitlab CI Debian container
all_arm64v8env:
......@@ -77,7 +77,7 @@ all_arm64v8env:
set -e; sudo ./build_parrotsec_image_CI.sh 2>&1 | tee $(LOGFILEIMG); \
else
$(error Something went wrong, check the logs please)
endif
fi
if [ -f parrotsec-rpi/parrot-armhf-image.img ]; then \
sudo mv parrotsec-rpi/parrot-armhf-image.img $(IMAGENAME); \
......@@ -90,7 +90,7 @@ all_arm64v8env:
sha1sum $(TARXZFILE) > $(SHA1SUMTARXZFILE); \
else
$(error Something went wrong, check the logs please)
endif
fi
finalize:
if [ -f live-image-armhf.tar.tar.gz ]; then \
......@@ -103,7 +103,7 @@ finalize:
sha1sum $(LOGFILE) $(CONFIGFILE) $(LISTFILE) $(CHROOTFILE) $(PKGSFILE) $(TARGZFILE) > $(SHA1SUMSFILE); \
else
$(error Something went wrong, check the logs please)
endif
fi
clean:
if [ -f $(BUILD_NUMBER_FILE) ]; then \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment