Fix ./configure script

master
knotteye 2021-03-01 13:03:56 -06:00
parent e39e900f88
commit d9765cb681
1 changed files with 3 additions and 3 deletions

6
configure vendored
View File

@ -6,7 +6,7 @@ do
# specify with --prefix "/whatever"
--prefix)
export PREFIX="$2"
sed "s#PREFIX := /usr/local#PREFIX := $2#g" Makefile | tee Makefile
sed "s#PREFIX := /usr/local#PREFIX := $2#g" Makefile | tee Makefile > /dev/null
shift # Remove argument name from processing
shift # Remove argument value from processing
;;
@ -14,8 +14,8 @@ do
# specify with --libdir "/libwhatver"
--libdir)
export LIBDIR="$2"
sed "s#LIBDIR := /lib#LIBDIR := $2#g" Makefile | tee Makefile
sed "s#LIB_DIR = \'/lib\'#LIB_DIR = \'$2\'#g" app.py | tee app.py
sed "s#LIBDIR := /lib#LIBDIR := $2#g" Makefile | tee Makefile > /dev/null
sed "s#LIB_DIR = [\']/lib[\']#LIB_DIR = \'$2\'#g" app.py | tee app.py > /dev/null
shift
shift
;;