Print missing packages on error.

Incorporated suggested changes in #72
This commit is contained in:
Donald Curtis 2012-04-18 09:37:09 -05:00
parent 106834fc73
commit 2ba2017e76

11
melpa
View file

@ -36,6 +36,17 @@ function melpa_validate {
NUMBUILT=$(trim `ls packages/*.{el,tar} | wc -l`) NUMBUILT=$(trim `ls packages/*.{el,tar} | wc -l`)
echo "${NUMBUILT}/${NUMPACKAGES} packages built" echo "${NUMBUILT}/${NUMPACKAGES} packages built"
if [[ $NUMBUILT -ne $NUMPACKAGES ]]; then
echo
echo "Missing Packages"
echo "______________________"
emacs --script missing.el
exit 1
else
exit 0
fi
} }
function print_usage { function print_usage {