Mercurial > hg > aboriginal
changeset 1158:df7814a794a1
Better error message.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 06 Jul 2010 12:10:26 -0500 |
parents | 300e6d919d86 |
children | 38406e998811 |
files | sources/functions.sh |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/functions.sh Mon Jul 05 15:37:04 2010 -0500 +++ b/sources/functions.sh Tue Jul 06 12:10:26 2010 -0500 @@ -432,7 +432,11 @@ mkdir -p "${CURSRC}" && cp -${LINKTYPE}fR "${SRCTREE}/$PACKAGE/"* "${CURSRC}" - [ $? -ne 0 ] && dienow + if [ $? -ne 0 ] + then + echo "$PACKAGE not found. Did you run download.sh?" >&2 + dienow + fi # Do we have a separate working directory?