|
|
|
@ -6,7 +6,6 @@ do |
|
|
|
|
# specify with --prefix "/whatever" |
|
|
|
|
--prefix) |
|
|
|
|
export PREFIX="$2" |
|
|
|
|
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 +13,7 @@ do |
|
|
|
|
# specify with --libdir "/libwhatver" |
|
|
|
|
--libdir) |
|
|
|
|
export LIBDIR="$2" |
|
|
|
|
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 |
|
|
|
|
sed "s#LIB_DIR = [\']/lib[\']#LIB_DIR = \'$2\'#g" app.py | tee app.py |
|
|
|
|
shift |
|
|
|
|
shift |
|
|
|
|
;; |
|
|
|
|