Skip to content
Snippets Groups Projects
Commit 11b668ec authored by Christopher's avatar Christopher
Browse files

update_stick: verbose error message

parent faee9686
No related branches found
No related tags found
No related merge requests found
#!/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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment