blob: 0edd9f6695583730433e69218e0326945f96e286 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
set -e
quietly() {
readonly log="/tmp/quietly-$RANDOM.log"
if ! "$@" >"$log" 2>&1; then
ret=$?
cat "$log"
rm -f "$log"
exit $ret
fi
rm -f "$log"
}
if test -r ".gitlab/ci/post_build_${CMAKE_CONFIGURATION}.sh"; then
source ".gitlab/ci/post_build_${CMAKE_CONFIGURATION}.sh"
fi
|