File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 88 exit 1
99fi
1010
11- export ZMQ_PREFIX=" $( dirname $0 ) /../zmq"
11+ export BASE=$( dirname " $0 " )
12+ export ZMQ_PREFIX=" ${BASE} /../zmq"
1213export ZMQ_SRC_DIR=zeromq-$ZMQ
13- cd $ ZMQ_PREFIX
14+ cd " ${ ZMQ_PREFIX} "
1415
1516export CFLAGS=-fPIC
1617export CXXFLAGS=-fPIC
17- export PKG_CONFIG_PATH=$ ZMQ_PREFIX /lib/pkgconfig
18+ export PKG_CONFIG_PATH=" ${ ZMQ_PREFIX} /lib/pkgconfig"
1819
19- test -d $ ZMQ_SRC_DIR || tar xzf zeromq-$ZMQ .tar.gz
20- cd $ ZMQ_SRC_DIR
20+ test -d " ${ ZMQ_SRC_DIR} " || tar xzf zeromq-$ZMQ .tar.gz
21+ cd " ${ ZMQ_SRC_DIR} "
2122
2223test -f configure || ./autogen.sh
23- ./configure --prefix=$ZMQ_PREFIX --with-relaxed --enable-static --disable-shared
24+ ./configure " --prefix=${ ZMQ_PREFIX} " --with-relaxed --enable-static --disable-shared
2425make -j 2
2526make install
2627
27- cd $ ZMQ_PREFIX
28- rm -rf $ ZMQ_SRC_DIR
28+ cd " ${ ZMQ_PREFIX} "
29+ rm -rf " ${ ZMQ_SRC_DIR} "
2930rm -f zeromq-$ZMQ .tar.gz
You can’t perform that action at this time.
0 commit comments