From d35f6a33864643bc106ab3aba3ad6be682ea8e51 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 24 Dec 2008 15:17:28 +0000 Subject: minor changes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@709 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/mkbuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'trunk/src') 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 -- cgit v1.2.3