You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2022/02/19 15:45:41 UTC

svn commit: r1898224 - /subversion/trunk/subversion/tests/cmdline/davautocheck.sh

Author: danielsh
Date: Sat Feb 19 15:45:40 2022
New Revision: 1898224

URL: http://svn.apache.org/viewvc?rev=1898224&view=rev
Log:
davautocheck: Create the convenience stop script in the build directory rather
than in the source directory.

Creating it in the source directory is wrong because it hardcode paths to the
build directory, and any given source directory may be used by multiple build
directories simultaneously.

While there, just create it in the root of the build directory.  I don't think
there's much point in having everyone type «s/t/c/.d<TAB>» rather than just
«./.d<TAB>» to use this convenience feature.

* subversion/tests/cmdline/davautocheck.sh
  ($STOPSCRIPT): As above.

Modified:
    subversion/trunk/subversion/tests/cmdline/davautocheck.sh

Modified: subversion/trunk/subversion/tests/cmdline/davautocheck.sh
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/davautocheck.sh?rev=1898224&r1=1898223&r2=1898224&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/davautocheck.sh (original)
+++ subversion/trunk/subversion/tests/cmdline/davautocheck.sh Sat Feb 19 15:45:40 2022
@@ -88,7 +88,7 @@ PYTHON=${PYTHON:-python}
 
 SCRIPTDIR=$(dirname $0)
 SCRIPT=$(basename $0)
-STOPSCRIPT=$SCRIPTDIR/.$SCRIPT.stop
+STOPSCRIPT=$(pwd)/.$SCRIPT.stop
 
 trap stop_httpd_and_die HUP TERM INT