Skip to content

Commit

Permalink
Redefine IFS <-> old_IFS functionality
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Feb 27, 2022
1 parent dbd754b commit db7a2a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions easytls
Original file line number Diff line number Diff line change
Expand Up @@ -9088,7 +9088,8 @@ new_faster_hash ()
old_faster_hash ()
{
# Generate a single hash of all the files via cat
old_IFS="$IFS"
unset old_IFS
[ -z "${IFS}" ] || old_IFS="$IFS"
IFS="${new_line}"
set --

Expand All @@ -9112,7 +9113,8 @@ old_faster_hash ()
generated_faster_hash="${cat_list_hash}"

set --
IFS="${old_IFS}"
unset IFS
[ -z "${old_IFS}" ] || IFS="${old_IFS}"
unset old_IFS cat_list_hash
} # => old_faster_hash ()

Expand Down

1 comment on commit db7a2a1

@TinCanTech
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.