diff --git a/hash-files b/hash-files index 8db52eb..f5c7148 100755 --- a/hash-files +++ b/hash-files @@ -16,7 +16,7 @@ create_list_of_files () { echo "=== Get list of files in $Working_Directory. === ==================================================" IFS=$'\n' -for file in $(find $Working_Fullpath -type f -maxdepth 1); do +for file in $(find $Working_Fullpath -maxdepth 1 -type f); do list_of_files+=$file done unset IFS