mirror of
https://github.com/aria2/aria2.git
synced 2024-12-29 14:14:53 +00:00
run make clean before another compilation
This commit is contained in:
parent
1fe4932201
commit
4521ea5a79
@ -25,6 +25,7 @@ build()
|
|||||||
fi
|
fi
|
||||||
./configure $1 2>&1 | tee "$BUILDDIR/configure_$2.log"\
|
./configure $1 2>&1 | tee "$BUILDDIR/configure_$2.log"\
|
||||||
&& cp config.log "$BUILDDIR/config.log_$2" \
|
&& cp config.log "$BUILDDIR/config.log_$2" \
|
||||||
|
&& LANG=C make clean \
|
||||||
&& LANG=C make -j2 check 2>&1 |tee "$BUILDDIR/aria2c_$2.log" \
|
&& LANG=C make -j2 check 2>&1 |tee "$BUILDDIR/aria2c_$2.log" \
|
||||||
&& cp src/aria2c "$BUILDDIR/aria2c_$2"
|
&& cp src/aria2c "$BUILDDIR/aria2c_$2"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user