Browse Source

More hash updates

pull/525/head
Jared Ballou 9 years ago
parent
commit
ce4b0a44b9
  1. 5
      functions/github_hash.sh

5
functions/github_hash.sh

@ -71,12 +71,11 @@ fn_check_github_files(){
repofile=$(echo $file | sed -e "s|${1}[/]*||g") repofile=$(echo $file | sed -e "s|${1}[/]*||g")
githash=$(grep "^$repofile " $manifest 2>/dev/null| cut -d" " -f2) githash=$(grep "^$repofile " $manifest 2>/dev/null| cut -d" " -f2)
if [ "${githash}" == "" ]; then if [ "${githash}" == "" ]; then
echo "Can't find ${repofile} in git!" continue
#echo "Can't find ${repofile} in git!"
elif [ "${myhash}" != "${githash}" ]; then elif [ "${myhash}" != "${githash}" ]; then
#echo "Would fetch ${repofile}: have ${myhash}, expected ${githash}" #echo "Would fetch ${repofile}: have ${myhash}, expected ${githash}"
fn_getgithubfile "${file}" 0 "${repofile}" 1 fn_getgithubfile "${file}" 0 "${repofile}" 1
else
#echo "${repofile} is OK"
fi fi
fi fi
done done

Loading…
Cancel
Save