ligo/src/passes/1-parser/ligodity/check_dot_git_is_dir.sh
2019-09-10 12:42:49 +02:00

11 lines
143 B
Bash
Executable File

#!/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