mirror of
https://github.com/munki/munki.git
synced 2026-04-23 13:29:26 -05:00
Update Usage message for make_munki_mpkg_from_git.sh, if git is missing suggest where it can be downloaded.
This commit is contained in:
@@ -20,7 +20,8 @@ Usage: `basename $0` [-f] [-i id] [-o dir] [-c package] [-r revision]"
|
||||
-i id Set the base package bundle ID
|
||||
-o dir Set the output directory
|
||||
-c package Include a configuration package
|
||||
-r revision SVN revision to check out (latest is the default)
|
||||
-b branch Git branch to clone (master is the default)
|
||||
-r revision Git revision to check out (HEAD is the default)
|
||||
|
||||
EOF
|
||||
}
|
||||
@@ -68,6 +69,8 @@ GIT=`which git`
|
||||
WHICH_GIT_RESULT="$?"
|
||||
if [ "$WHICH_GIT_RESULT" != "0" ]; then
|
||||
echo "Could not find git in command path. Maybe it's not installed?" 1>&2
|
||||
echo "You can get a Git package here:" 1>&2
|
||||
echo " http://code.google.com/p/git-osx-installer/downloads/list"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user