add debug
This commit is contained in:
parent
cd6460a5e4
commit
7446ec1f7a
1 changed files with 10 additions and 0 deletions
10
functions.sh
10
functions.sh
|
@ -60,6 +60,16 @@ function sudo() {
|
|||
SUDO=$(which sudo)
|
||||
|
||||
[ getbashrcfile ] && BASH="bash --rcfile $(getbashrcfile)" || unset BASH
|
||||
|
||||
if $SSHS ; then
|
||||
logwarning "TEMPCONFIG"
|
||||
else
|
||||
logwarning "NO Tempconfig"
|
||||
fi
|
||||
|
||||
logwarning "SUDO: $SUDO"
|
||||
logwarning "BASH: $BASH"
|
||||
|
||||
$SUDO \
|
||||
GIT_AUTHOR_EMAIL="$GIT_AUTHOR_EMAIL" \
|
||||
GIT_AUTHOR_NAME="$GIT_AUTHOR_NAME" \
|
||||
|
|
Loading…
Reference in a new issue