zlib script if was the wrong way around
This commit is contained in:
parent
f7b81b36ec
commit
5c690dc891
1 changed files with 6 additions and 6 deletions
|
|
@ -1,18 +1,18 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# locally install libedit-devel
|
# locally install zlib
|
||||||
|
|
||||||
here=$(pwd)
|
here=$(pwd)
|
||||||
srcfolder="$here/src/zlib"
|
srcfolder="$here/src/zlib"
|
||||||
|
|
||||||
if [ -z ${ACT_HOME+x} ]; then
|
if [ -z ${ACT_HOME} ]; then
|
||||||
echo "Installing to ACT_HOME"
|
|
||||||
dest_lib=$ACT_HOME/lib
|
|
||||||
dest_hdr=$ACT_HOME/include
|
|
||||||
else
|
|
||||||
echo "Installing in home folder"
|
echo "Installing in home folder"
|
||||||
dest_lib=~/.zlib/lib
|
dest_lib=~/.zlib/lib
|
||||||
dest_hdr=~/.zlib/include
|
dest_hdr=~/.zlib/include
|
||||||
|
else
|
||||||
|
echo "Installing to ACT_HOME"
|
||||||
|
dest_lib=$ACT_HOME/lib
|
||||||
|
dest_hdr=$ACT_HOME/include
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create source folder
|
# Create source folder
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue