Skip to content
Snippets Groups Projects
Commit 4fd5dbb0 authored by Albert Gräf's avatar Albert Gräf
Browse files

Allow inst_dir to be set with -B/-b.

parent 28cde3ac
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,6 @@ pkg=1
inno=0
dmg=0
inst_dir=${inst_dir:-/usr/local}
# Get the OS we're running under, normalized to names that can be used
# to fetch the nwjs binaries below
......@@ -125,10 +123,10 @@ do case $Option in
a) addon=1;;
b) deb=1
inst_dir=/usr;;
inst_dir=${inst_dir:-/usr};;
B) deb=2
inst_dir=/usr;;
inst_dir=${inst_dir:-/usr};;
c) core=1;;
......@@ -166,6 +164,8 @@ do case $Option in
esac
done
inst_dir=${inst_dir:-/usr/local}
export TAR_EM_UP_PREFIX=$inst_dir
cd ../
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment