mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Print a nice error message when fetching dev bundle if no DATA_DIR set
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
set -e
|
||||
trap "echo Failed to fetch binary dependencies." EXIT
|
||||
|
||||
if [ -z "$DATA_DIR" ]; then
|
||||
echo "Please set DATA_DIR to a writeable directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd `dirname $0`
|
||||
|
||||
# XXX don't hardcode linux :)
|
||||
|
||||
Reference in New Issue
Block a user