ligo/check_dot_git_is_dir.sh
2019-03-05 15:23:34 +01: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