Commit 11b668ec authored by Christopher's avatar Christopher

update_stick: verbose error message

parent faee9686
#!/bin/bash
BRANCH="ws14"
[ -e ".git" ] || exit 1
if [ ! -d ".git" ]; then
>&2 echo "Fatal error: expected .git directory in the working directory."
>&2 echo "Please make sure this script is executed in the root directory of the LIP Image."
exit 1
fi
[ -z "$1" ] || BRANCH="$1"
git pull
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment