1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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.
This commit is contained in:
Daniel Stenberg 2004-02-26 13:59:10 +00:00
parent d571064b65
commit 1056d2d22d

View File

@ -145,6 +145,10 @@ pwd=`echo $ipwd | sed -e 's/$//g'`
if [ -d "$CURLDIR" ]; then if [ -d "$CURLDIR" ]; then
if [ $CVS -eq 1 -a -d $CURLDIR/CVS ]; then if [ $CVS -eq 1 -a -d $CURLDIR/CVS ]; then
log "curl is verified to be a fine source dir" 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 elif [ $CVS -eq 0 -a -f $CURLDIR/testcurl.sh ]; then
log "curl is verified to be a fine daily source dir" log "curl is verified to be a fine daily source dir"
else else