From c529c0628b08d526c30acf9d92afd0005bb0d00d Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 10 Jun 2020 00:55:54 +0200 Subject: Whitespace errors --- Readme.md | 2 +- libs/pkgmanager | 2 +- ltask | 2 +- tasks/example | 2 +- tasks/jenkins | 2 +- tasks/reboot | 4 ++-- tasks/system-update | 4 ++-- tools/rexec.sh | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Readme.md b/Readme.md index 3d0432c..226bc45 100644 --- a/Readme.md +++ b/Readme.md @@ -44,7 +44,7 @@ Reference for environment variables FILES Array of Files to copy over before script invocation INCLUDES Array of libraries to include PARALLEL Enable parallel execution (yes/[no]) - + # # Available in setup ASSET_DIR path to folder where eg keys are stored TOOL_DIR path to helper script folder diff --git a/libs/pkgmanager b/libs/pkgmanager index 25ac4ca..5c80e19 100644 --- a/libs/pkgmanager +++ b/libs/pkgmanager @@ -25,7 +25,7 @@ case $ID in FULLUPGRADE_CMD="dist-upgrade" ;; *) - 1>&2 echo Distribution could not be determined + 1>&2 echo Distribution could not be determined exit 1 esac diff --git a/ltask b/ltask index d9a8b6a..4716c63 100755 --- a/ltask +++ b/ltask @@ -87,7 +87,7 @@ for (( i=0; i < $ARGC;i++ )); do if [[ ! ${ARGV[$i]} =~ $ARGREGEX ]]; then [ -z $TASK ] && TASK=${ARGV[$i]} && continue [ -z $TARGET ] && TARGET=${ARGV[$i]} && continue - + print_help 1 fi diff --git a/tasks/example b/tasks/example index 8974aee..a833a6a 100644 --- a/tasks/example +++ b/tasks/example @@ -19,7 +19,7 @@ function task_setup() { SSH_USER=server SSH_IDENTITY_FILE=$ASSET_DIR/id_rsa - + FILES+=() TASK_ISSET="yes" diff --git a/tasks/jenkins b/tasks/jenkins index 5598a9e..d763377 100644 --- a/tasks/jenkins +++ b/tasks/jenkins @@ -10,7 +10,7 @@ function task_setup() { # Available environment variables # $ASSET_DIR # $TOOL_DIR - + SSH_USER=server SSH_IDENTITY_FILE=$ASSET_DIR/id_jenkins diff --git a/tasks/reboot b/tasks/reboot index 3027502..83c04fd 100644 --- a/tasks/reboot +++ b/tasks/reboot @@ -9,10 +9,10 @@ function task_setup() { # Available environment variables # $ASSET_DIR # $TOOL_DIR - + SSH_USER=server SSH_IDENTITY_FILE=$ASSET_DIR/id_rsa - + TASK_ISSET="yes" } diff --git a/tasks/system-update b/tasks/system-update index 865014c..8a8c55d 100644 --- a/tasks/system-update +++ b/tasks/system-update @@ -7,7 +7,7 @@ function task_exec() { sudo pkg_upgrade ret=$(($ret + $?)) - + exit $ret } @@ -15,7 +15,7 @@ function task_setup() { # Available environment variables # $ASSET_DIR # $TOOL_DIR - + INCLUDES+=("$INCLUDE_DIR/pkgmanager") SSH_USER=server diff --git a/tools/rexec.sh b/tools/rexec.sh index d60c021..dea9cc8 100755 --- a/tools/rexec.sh +++ b/tools/rexec.sh @@ -62,7 +62,7 @@ function parse_args() { exit 1;; esac done - + [ -z $SSH_HOST ] && echo No host specified && exit 1 [ ${#SCRIPT_FILES[@]} -eq 0 ] && echo No script specified && exit 1 } -- cgit v1.2.3