aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-12-24 15:17:28 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-12-24 15:17:28 +0000
commitd35f6a33864643bc106ab3aba3ad6be682ea8e51 (patch)
tree2476270af684e73128d6ff3ef6eff65a9f015b17
parenta19cff31a732c4591624a141a0b5d9046a060fc5 (diff)
downloadsimplepkg-d35f6a33864643bc106ab3aba3ad6be682ea8e51.tar.gz
simplepkg-d35f6a33864643bc106ab3aba3ad6be682ea8e51.tar.bz2
minor changes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@709 04377dda-e619-0410-9926-eae83683ac58
-rwxr-xr-xtrunk/src/mkbuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild
index f7566f5..afdbc7c 100755
--- a/trunk/src/mkbuild
+++ b/trunk/src/mkbuild
@@ -780,6 +780,11 @@ function file_metainfo {
echo $file_type $dist_name `file_size $file` $sum >> $manifest_file
+ if [ "$file_type" == "DIST" ]; then
+ echo "Please make sure that the following hashes are correct:"
+ grep -e "^DIST $DIST_SRC_NAME " $manifest_file
+ fi
+
}
function update_manifest_info {
@@ -907,7 +912,6 @@ function get_dist_file {
[ "$protocol" == "http" ] || \
[ "$protocol" == "ftp" ]; then
- # TODO: config file parameter should control whether to donwload
# Try to donwload the file
if [ ! -e "$file" ]; then
if is_writable_folder $SOURCE_DIR/$PKG_NAME; then
@@ -966,9 +970,6 @@ function update_manifest {
# Update Manifest metadata
if [ -e "$DIST_SRC_LOCATION" ]; then
update_manifest_info $DIST_SRC_LOCATION dist
- # TODO: that should appear also when adding DIST information at edit_manifest
- echo "Please make sure that the following hashes are correct:"
- grep -e "^DIST $DIST_SRC_NAME " $WORK/Manifest
else
echo "Can't get $DIST_SRC_NAME."
fi