- Timestamp:
- 05/03/2006 04:17:38 AM (18 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 261eea6
- Parents:
- 296ae69
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/create-sbu_du-report.sh
r296ae69 r26d25e8 15 15 echo -e "\nLooks like $LOGSDIR isn't a jhalfs logs directory.\n" && exit 16 16 17 # If this script is run manually, the book version may be unknow 17 # If this script is run manually, the book version may be unknown 18 18 [[ -z "$VERSION" ]] && VERSION=unknown 19 19 … … 75 75 76 76 #Start disk usage calculation 77 # Disk usage before unpack the package77 # Disk usage before unpacking the package 78 78 DU1=`grep "^KB: " $log | head -n1 | cut -f1 | sed -e 's/KB: //'` 79 79 DU1MB=`echo "scale=2; $DU1 / 1024" | bc` 80 # Disk usage before delet e sourcesand build dirs80 # Disk usage before deleting the source and build dirs 81 81 DU2=`grep "^KB: " $log | tail -n1 | cut -f1 | sed -e 's/KB: //'` 82 82 DU2MB=`echo "scale=2; $DU2 / 1024" | bc` … … 109 109 110 110 # Dump disk usage values 111 echo -e "\nDisk usage before unpack the package:\t\t\t$DU1 KB or $DU1MB MB" >> "$REPORT"112 echo -e "Disk usage before delet e sourcesand build dirs:\t$DU2 KB or $DU2MB MB" >> "$REPORT"111 echo -e "\nDisk usage before unpacking the package:\t\t\t$DU1 KB or $DU1MB MB" >> "$REPORT" 112 echo -e "Disk usage before deleting the source and build dirs:\t$DU2 KB or $DU2MB MB" >> "$REPORT" 113 113 echo -e "Required space to build the package:\t\t\t$REQUIRED1 KB or $REQUIRED2 MB\n" >> "$REPORT" 114 114
Note:
See TracChangeset
for help on using the changeset viewer.