Remove dot after TMP_HOOKS_PATH
"$TMP_HOOKS_PATH." is always be nonzero so we should remove the dot. Change-Id: I0432bb3e21cc29806e1e2ae245dd4b6301ee9ba6
This commit is contained in:
parent
ed0b20516a
commit
08797d44b5
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
source $_LIB/die
|
source $_LIB/die
|
||||||
[ -n "$TMP_HOOKS_PATH." ] || die "Temp hook path not set"
|
[ -n "$TMP_HOOKS_PATH" ] || die "Temp hook path not set"
|
||||||
|
|
||||||
echo "$DIB_ENV" > $TMP_HOOKS_PATH/dib_environment
|
echo "$DIB_ENV" > $TMP_HOOKS_PATH/dib_environment
|
||||||
echo "$DIB_ARGS" > $TMP_HOOKS_PATH/dib_arguments
|
echo "$DIB_ARGS" > $TMP_HOOKS_PATH/dib_arguments
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
source $_LIB/die
|
source $_LIB/die
|
||||||
[ -n "$TMP_HOOKS_PATH." ] || die "Temp hook path not set"
|
[ -n "$TMP_HOOKS_PATH" ] || die "Temp hook path not set"
|
||||||
|
|
||||||
if [ -e ~/.ssh/authorized_keys ]; then
|
if [ -e ~/.ssh/authorized_keys ]; then
|
||||||
cat ~/.ssh/authorized_keys > $TMP_HOOKS_PATH/ssh-authorized-keys
|
cat ~/.ssh/authorized_keys > $TMP_HOOKS_PATH/ssh-authorized-keys
|
||||||
|
Loading…
Reference in New Issue
Block a user