]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
When this is verified to be a CVS tree, we remove the two generated source
authorDaniel Stenberg <daniel@haxx.se>
Thu, 26 Feb 2004 13:59:10 +0000 (13:59 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 26 Feb 2004 13:59:10 +0000 (13:59 +0000)
files from the source dir to make certain they're generated in the build
process.

testcurl.sh

index 189d33b0ab0e983cdaf206ceff2c510e706cc555..cdff67c534acaba175908fe99f98a5b585ab7537 100755 (executable)
@@ -145,6 +145,10 @@ pwd=`echo $ipwd | sed -e 's/$//g'`
 if [ -d "$CURLDIR" ]; then
   if [ $CVS -eq 1 -a -d $CURLDIR/CVS ]; then
     log "curl is verified to be a fine source dir"
+    # remove the generated sources to force them to be re-generated each
+    # time we run this test
+    rm -f $CURLDIR/lib/getdate.c
+    rm -f $CURLDIR/src/hugehelp.c
   elif [ $CVS -eq 0 -a -f $CURLDIR/testcurl.sh ]; then
     log "curl is verified to be a fine daily source dir"
   else