diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-11 18:15:41 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-11 18:15:41 (EDT) |
commit | f79dea0f5e1b89488d73bfb0360e651b8d578e15 (patch) | |
tree | 682bacab015acd1175f57b7bcbc8b65e4cb02ba5 /src/dir.sh | |
parent | d19eb991c6cf206dba7a9ecc0732c4ab5e7b4f85 (diff) |
Consistently shift function arguments
Diffstat (limited to 'src/dir.sh')
-rw-r--r-- | src/dir.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,7 @@ hash_name() { local name="${1}" + shift 1 local hash= if [ "x${name}" != "x${name#lib?}" ]; then @@ -40,6 +41,7 @@ hash_name() dir_is_empty() { local dir="${1}" + shift 1 local ret= local dirent= @@ -64,6 +66,7 @@ dir_is_empty() try_rmdir() { local dir="${1}" + shift 1 if ! dir_is_empty "${dir}"; then return 1 |