Make update_autogen work in git worktrees
* admin/update_autogen: Make it work in a git worktree
This commit is contained in:
parent
dfea6d5a4a
commit
31ce174a72
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ cd $PD
|
|||
cd ../
|
||||
[ -d admin ] || die "Could not locate admin directory"
|
||||
|
||||
[ -d .git ] || die "No .git directory"
|
||||
[ -d .git ] || git rev-parse --git-dir > /dev/null 2>&1 || die "Not in a git repository"
|
||||
|
||||
usage ()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue