Skip to content
Snippets Groups Projects
Commit bc167ed85aca authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

debug empty branch name

parent 640b7312dc39
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,11 @@
elif [ -e ".hg" ]; then
branch="$(hg id -b)"
fi
if [[ -z $branch ]]; then
echo "${RED}ERROR${RESET} - empty branch name"
ls
branch="none"
fi
dest_dir=$out_dir/$project_name/$language/$branch
if [[ $? -eq 0 ]] ; then
echo "${YELLOW}INFO ${RESET} - Documentation generation done for $doc_dir (superproject), copy to $dest_dir"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment