Merge branch 'lnicolodi-patch-1'

This commit is contained in:
Offensive Security 2016-03-28 21:25:37 +00:00
commit 2467f523e2

View file

@ -96,7 +96,7 @@ function update()
if [[ "$( git rev-parse --is-inside-work-tree )" != "true" ]]; then if [[ "$( git rev-parse --is-inside-work-tree )" != "true" ]]; then
if [[ "$( ls )" = "" ]]; then if [[ "$( ls )" = "" ]]; then
# If directory is empty, just clone # If directory is empty, just clone
git clone "${gitremote}" . git clone --depth=1 "${gitremote}" .
else else
# If not empty, init and add remote # If not empty, init and add remote
git init >/dev/null git init >/dev/null