updated script
Costa Tsaousis (ktsaou) committed
Jan 3, 2018 at 17:17 UTC
3a2b1694e6c6461d503887caa44da2216ba0d0ea
1 file changed
+3
-3
contrib/rhel/build-netdata-rpm.sh
+3
-3
@@ -3,10 +3,10 @@
3
# docker run -it --rm centos:6.9 /bin/sh
4
# yum -y install rpm-build redhat-rpm-config yum-utils autoconf automake curl gcc git libmnl-devel libuuid-devel make pkgconfig zlib-devel
5
6
-set -e
6
+cd $(dirname $0)/../../ || exit 1
7
+source "installer/functions.sh" || exit 1
8
8
-cd $(dirname $0)/../../
9
-source "installer/functions.sh"
9
+set -e
10
11
run ./autogen.sh
12
run ./configure --enable-maintainer-mode