diff --git a/entrypoint.sh b/entrypoint.sh index 8ffffc0..9bd028b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,5 +6,6 @@ export GITHUB="true" [ -z "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s" [ -z "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m" +[ -n "$INPUT_STRIP_COMPONENTS" ] && export INPUT_STRIP_COMPONENTS=$((INPUT_STRIP_COMPONENTS + 0)) sh -c "/bin/drone-scp $*"