diff options
Diffstat (limited to 'trunk')
-rwxr-xr-x | trunk/src/mkbuild | 9 |
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 |