]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
minor changes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 24 Dec 2008 15:17:28 +0000 (15:17 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 24 Dec 2008 15:17:28 +0000 (15:17 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@709 04377dda-e619-0410-9926-eae83683ac58

trunk/src/mkbuild

index f7566f58fcbb85650c2d2dd723b17e7ae30aee05..afdbc7c5f969978faf43489d1b846762ba2de858 100755 (executable)
@@ -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