Commit 29cea382 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed installation prefix DESTDIR to /

parent a69d248d
......@@ -37,7 +37,7 @@ all: mongodb-service
mkdir mongo-home
cd mongodb-src-r4.4.6 && HOME=$(CURDIR)/mongo-home pip3 install --upgrade pip
cd mongodb-src-r4.4.6 && HOME=$(CURDIR)/mongo-home pip3 install -r buildscripts/requirements.txt
cd mongodb-src-r4.4.6 && scons PREFIX=/usr DESTDIR= install-all --release --opt=on --disable-warnings-as-errors MONGO_VERSION=4.4.6 -j 1
cd mongodb-src-r4.4.6 && scons PREFIX=/usr DESTDIR=/ install-all --release --opt=on --disable-warnings-as-errors MONGO_VERSION=4.4.6 -j 1
# cd mongodb-src-r4.4.6 && scons --prefix=/usr install --disable-warnings-as-errors MONGO_VERSION=4.4.6
cd mongodb-src-r4.4.6 && HOME=$(CURDIR)/mongo-home pip3 uninstall -y -r buildscripts/requirements.txt
@echo "$$MONGODB_SERVICE" > /lib/systemd/system/mongodb.service
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment