diff options
-rwxr-xr-x | sign-request.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sign-request.in b/sign-request.in index 1150fbd..954789e 100755 --- a/sign-request.in +++ b/sign-request.in @@ -6,6 +6,14 @@ fi cd "${0%/*}" +remove_leading_spaces() { + sed ' + s/^ \{'"$1"'\}// + t + d + ' +} + tmp_dir=$(mktemp -d) trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT |