summaryrefslogtreecommitdiffstats
path: root/src/dir.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dir.sh')
-rw-r--r--src/dir.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dir.sh b/src/dir.sh
index bd0cb95..90a41a7 100644
--- a/src/dir.sh
+++ b/src/dir.sh
@@ -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