Skip to content

Commit

Permalink
1 fix path error check
Browse files Browse the repository at this point in the history
  • Loading branch information
noname007 committed Mar 7, 2017
1 parent bdb5f1f commit 50c1aac
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions DebMakefile.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ ORANGE_PATH ?= $(SOFTWARE_PATH)/orangedd
export $$PATH := $(PHP_PATH)/bin:$$PATH
export $$PATH := $(OEPNRESTY_PATH)/bin:$$PATH

prerequisites:
prerequisites:prerequisites-yum

prerequisites-yum:
mkdir -p $(SOFTWARE_PATH)
sudo yum install -y readline-devel pcre-devel openssl-devel gcc wget \
icu libicu libicu-devel \
Expand All @@ -26,7 +28,13 @@ prerequisites:
# libcurl4-gnutls-dev
# libpng-dev
# libmcrypt-dev
# libjpeg-dev
# libjpeg-dev


fedora-systemtap:prerequisites





prerequisites-ubuntu:
Expand All @@ -53,7 +61,7 @@ lor: openresty
cd lor && git pull && \
sudo make install
orange: lor
test -d orange || git clone https://github.com/thisverygoodhhhh/orange.git $(ORANGE_PATH)
test -d $(ORANGE_PATH) || git clone https://github.com/thisverygoodhhhh/orange.git $(ORANGE_PATH)
cd $(ORANGE_PATH) && git checkout master

php7:
Expand Down Expand Up @@ -131,4 +139,10 @@ librabbitmq:
ldconfig \
)\

install: prerequisites openresty orange php7 php7-ext-stomp php7-ext-redis php7-ext-phalcon php-amqp php-composer
install: prerequisites openresty orange php7 php7-ext-stomp php7-ext-redis php7-ext-phalcon php-amqp php-composer


update-orange: orange
cd $(ORANGE_PATH) && git checkout master && git pull origin master

update-lor: lor

0 comments on commit 50c1aac

Please sign in to comment.