aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-26 13:59:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-26 13:59:10 +0000
commit1056d2d22dbb41cd52fea9a75d20d637c0126ba5 (patch)
treedd4f874163790760f7ce8684c2ee509400dd4dd2
parentd571064b65195aa7c71200af549a95404a2f0ce1 (diff)
When this is verified to be a CVS tree, we remove the two generated source
files from the source dir to make certain they're generated in the build process.
-rwxr-xr-xtestcurl.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/testcurl.sh b/testcurl.sh
index 189d33b0a..cdff67c53 100755
--- a/testcurl.sh
+++ b/testcurl.sh
@@ -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