summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/crossgcc/buildgcc3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index c69e7cd219..eaff24da97 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -595,6 +595,9 @@ test -r $IASL_DIR/generate/unix/.failed && printf "${RED}failed${NC}\n" || \
test -r $IASL_DIR/generate/unix/.failed && exit 1
fi
+rm -f $DESTDIR$TARGETDIR/$0.commit.*
+cp $0 $DESTDIR$TARGETDIR/"$0.commit.`git describe`"
+
if [ $SAVETEMPS -eq 0 ]; then
printf "Cleaning up... "
rm -rf ${GMP_DIR} build-gmp