Skip to content

Commit

Permalink
whoops -- proper checking for md5sum
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusae committed Mar 16, 2010
1 parent ef6dff5 commit 08f7399
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion make-emacs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
# #
# Make a standalone emacs configuration. # Make a standalone emacs configuration.


set -e

if [ $# -ne 2 ]; then if [ $# -ne 2 ]; then
echo "`basename $0` <emacs.d-directory|emacs-init-file> <output file>" \ echo "`basename $0` <emacs.d-directory|emacs-init-file> <output file>" \
> /dev/null 1>&2 > /dev/null 1>&2
exit 1 exit 1
fi fi


if `which md5sum`; then if which md5sum > /dev/null; then
MD5=md5sum MD5=md5sum
else else
MD5=md5 MD5=md5
Expand Down

0 comments on commit 08f7399

Please sign in to comment.