ligo/src/passes/1-parser/ligodity/check_dot_git_is_dir.sh

11 lines
143 B
Bash
Raw Normal View History

#!/bin/sh
set -e
if test -d ../../.git; then
echo true > dot_git_is_dir
else
echo false > dot_git_is_dir
cat .git >> dot_git_is_dir
fi