[Pkg-mono-svn-commits] rev 516 - monodoc/trunk/debian
Eduard Bloch
blade@haydn.debian.org
Fri, 09 Apr 2004 07:54:19 -0600
Author: blade
Date: 2004-04-09 07:54:16 -0600 (Fri, 09 Apr 2004)
New Revision: 516
Modified:
monodoc/trunk/debian/changelog
monodoc/trunk/debian/monodoc-http-script
Log:
unsetting $port, avoiding just one possible corner case
Modified: monodoc/trunk/debian/changelog
===================================================================
--- monodoc/trunk/debian/changelog 2004-04-09 13:31:52 UTC (rev 515)
+++ monodoc/trunk/debian/changelog 2004-04-09 13:54:16 UTC (rev 516)
@@ -12,6 +12,7 @@
+ new upstream release
* Eduard Bloch
+ don't run xsp.exe in monodoc-http script, run xsp
+ + monodoc-http-script check for ports <=1024
* Teófilo Ruiz Suárez
+ added xsp and mono-server root dir hooks
Modified: monodoc/trunk/debian/monodoc-http-script
===================================================================
--- monodoc/trunk/debian/monodoc-http-script 2004-04-09 13:31:52 UTC (rev 515)
+++ monodoc/trunk/debian/monodoc-http-script 2004-04-09 13:54:16 UTC (rev 516)
@@ -1,9 +1,10 @@
#!/bin/bash
export LANG=C
+unset port
while test -z "$port" ; do
port=$RANDOM
- if netstat -a -n | grep -q :$port ; then
+ if [ $port -lt 1025 ] || netstat -a -n | grep -q :$port ; then
unset port
fi
done