Skip to content

Commit 02a347a

Browse files
Refresh build-cleanup.sh script
Script got outdated to the current matter of things and this patch brings it back on par with build scripts. Signed-off-by: Anton Kolesov <[email protected]>
1 parent 87ee7e5 commit 02a347a

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2015-02-27 Anton Kolesov <[email protected]>
2+
3+
* build-cleanup.sh: Refresh.
4+
15
2015-02-27 Anton Kolesov <[email protected]>
26

37
* dejagnu/baseboards/arc-openocd.exp: New board.

build-cleanup.sh

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
# Contributor Jeremy Bennett <[email protected]>
66

7-
# This file is a master script for building ARC tool chains.
8-
97
# This program is free software; you can redistribute it and/or modify it
108
# under the terms of the GNU General Public License as published by the Free
119
# Software Foundation; either version 3 of the License, or (at your option)
@@ -24,9 +22,8 @@
2422

2523
# Remove the following from the build directory:
2624
# - the tool specific build directories (bd-*)
27-
# - temporary uClibc header install directories (tmp-install-uclibc-*)
2825

29-
# Move logs to the log subdirectory, creating it if it does not exist.
26+
# Compress log files with bzip2.
3027

3128
# Default source directory if not already set
3229
if [ "x${ARC_GNU}" = "x" ]
@@ -40,9 +37,5 @@ cd ${ARC_GNU}
4037
echo Removing tool specific build directories...
4138
rm -rf bd-*
4239

43-
echo Removing temporary uClibc header install directories...
44-
rm -rf tmp-install-uclibc-*
45-
4640
echo Archiving log files...
47-
mkdir -p logs
48-
mv -f *.log logs
41+
bzip2 logs/*.log

0 commit comments

Comments
 (0)