Fix ./configure script
parent
e39e900f88
commit
d9765cb681
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue