Commit bb746f51 authored by Francesco Bonanno's avatar Francesco Bonanno

Try using a completely different new if eveluation at the end of the functions V2

parent 629c8129
Pipeline #42 failed with stage
in 2 minutes and 20 seconds
......@@ -57,10 +57,8 @@ all:
sha1sum $(TARXZFILE) > $(SHA1SUMTARXZFILE); \
fi
if [ ! -f $(TARXZFILE) ]
then
$(error Something went wrong, check the logs please)
if [ ! -f $(TARXZFILE) ]; then \
$(error Something went wrong, check the logs please); \
fi
# Used only in arm64v8 gitlab CI Debian container
......@@ -90,9 +88,8 @@ all_arm64v8env:
sha1sum $(TARXZFILE) > $(SHA1SUMTARXZFILE); \
fi
if [ ! -f $(TARXZFILE) ]
then
$(error Something went wrong, check the logs please)
if [ ! -f $(TARXZFILE) ]; then \
$(error Something went wrong, check the logs please); \
fi
finalize:
......@@ -106,10 +103,9 @@ finalize:
sha1sum $(LOGFILE) $(CONFIGFILE) $(LISTFILE) $(CHROOTFILE) $(PKGSFILE) $(TARGZFILE) > $(SHA1SUMSFILE); \
fi
if [ ! -f $(TARGZFILE) ]
then
$(error Something went wrong, check the logs please)
fi
if [ ! -f $(TARGZFILE) ]; then \
$(error Something went wrong, check the logs please); \
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