Skip to content
Snippets Groups Projects
Unverified Commit 2c8286fc authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

build.sh: make the script verbose with -x

parent ecc8acd0
Branches
Tags
No related merge requests found
Pipeline #1017 passed
#!/bin/bash #!/bin/bash
set -exu
if [ -z ${SOURCE_DATE_EPOCH:+x} ] && git -C . rev-parse 2>/dev/null; then if [ -z ${SOURCE_DATE_EPOCH:+x} ] && git -C . rev-parse 2>/dev/null; then
export SOURCE_DATE_EPOCH=$(git log -1 --format=%ct) export SOURCE_DATE_EPOCH=$(git log -1 --format=%ct)
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment