mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Small bugs and cosmetic issues (#3776)
* Remove debug code * Replace duplicate query * Oh-my-zsh configuration has been changed. Adjusting our modifications * Address changes to git client in a better way
This commit is contained in:
@@ -30,7 +30,9 @@ fi
|
||||
if [[ -f "${SRC}"/lib/general.sh ]]; then
|
||||
|
||||
# Declare this folder as safe
|
||||
git config --global --add safe.directory "${SRC}"
|
||||
if [[ -z $(cat ${HOME}/.gitconfig | grep "directory = \*") ]]; then
|
||||
git config --global --add safe.directory "*"
|
||||
fi
|
||||
|
||||
# shellcheck source=lib/general.sh
|
||||
source "${SRC}"/lib/general.sh
|
||||
|
||||
Reference in New Issue
Block a user