Skip to content

Commit

Permalink
Let installconf.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
jfclere committed Jan 21, 2011
1 parent cd43bc6 commit 5141483
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test/java/installhttpd.sh
Expand Up @@ -205,6 +205,7 @@ case ${EXT} in
;;
esac

INSTWIN=false
case ${EXT} in
tar.gz)
# Arrange the installed files
Expand Down Expand Up @@ -236,6 +237,7 @@ case ${EXT} in
(cd "$BASELOC/httpd-2.2/bin"
./installconf.bat
)
INSTWIN=true
;;
esac

Expand All @@ -252,8 +254,13 @@ else
# Uncomment out conf stuff
echo "s/#ServerAdvertise/ServerAdvertise/" > sed.cmd
echo "s/#Advertise/Advertise/" >> sed.cmd
echo "s/127.0.0.1:6666/@IP@:6666/" >> sed.cmd
echo "s/127.0.0/@SUBIP@/" >> sed.cmd
if $INSTWIN
then
;
else
echo "s/127.0.0.1:6666/@IP@:6666/" >> sed.cmd
echo "s/127.0.0/@SUBIP@/" >> sed.cmd
fi
sed -f sed.cmd "$file" > "$file.new"
fi

Expand Down

0 comments on commit 5141483

Please sign in to comment.