File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -129,12 +129,12 @@ requires:
129129 - yelp-tools
130130
131131variables :
132- - CFLAGS="-Wall"
132+ - CFLAGS="-Wall -Werror=format-security "
133133
134134before_scripts :
135135 # These scripts should keep silent.
136136 - cd ${START_DIR}
137- - " [ -f mate-desktop-1.21.2.tar.xz ] || curl -Ls -o mate-desktop-1.21.2.tar.xz http://pub.mate-desktop.org/releases/1.21/mate-desktop-1.21.2.tar.xz"
137+ - ' [ -f mate-desktop-1.21.2.tar.xz ] || curl -Ls -o mate-desktop-1.21.2.tar.xz http://pub.mate-desktop.org/releases/1.21/mate-desktop-1.21.2.tar.xz'
138138 - tar xf mate-desktop-1.21.2.tar.xz
139139 - cd mate-desktop-1.21.2
140140 - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu >/dev/null 2>&1; else ./configure --prefix=/usr >/dev/null 2>&1; fi
@@ -150,13 +150,14 @@ before_scripts:
150150 - make install > /dev/null 2>&1
151151
152152 - cd ${START_DIR}
153- - " [ -f mate-settings-daemon-1.21.2.tar.xz ] || curl -Ls -o mate-settings-daemon-1.21.2.tar.xz http://pub.mate-desktop.org/releases/1.21/mate-settings-daemon-1.21.2.tar.xz"
153+ - ' [ -f mate-settings-daemon-1.21.2.tar.xz ] || curl -Ls -o mate-settings-daemon-1.21.2.tar.xz http://pub.mate-desktop.org/releases/1.21/mate-settings-daemon-1.21.2.tar.xz'
154154 - tar xf mate-settings-daemon-1.21.2.tar.xz
155155 - cd mate-settings-daemon-1.21.2
156156 - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu >/dev/null 2>&1; else ./configure --prefix=/usr >/dev/null 2>&1; fi
157157 - make > /dev/null 2>&1
158158 - make install > /dev/null 2>&1
159159
160160after_scripts :
161- # Just look at the error output and return 0 if it fails.
162- - make distcheck || true > /dev/null
161+ - make distcheck > /dev/null
162+ # Just look at the error output and return 0 always.
163+ - ' if [ $? -ne 0 ];then RED="\033[0;31m"; NC="\033[0m"; printf "${RED}!!! ERROR: Run make distcheck failed.${NC}\n"; fi'
You can’t perform that action at this time.
0 commit comments