Preserve ifs when calling other functions after temporary altering it. Fixes a couple of minor bugs.
Added difs env var that can be used anywhere to restore default ifs.
This commit is contained in:
parent
d12c13ee25
commit
c9b9e4e9bf
4 changed files with 4 additions and 3 deletions
|
|
@ -7,6 +7,7 @@
|
|||
cd ..
|
||||
|
||||
forbidden_uri_chars='[^a-zA-Z0-9_+\-\/\.,:]'
|
||||
difs=$ifs # Used to restore default ifs when needed
|
||||
|
||||
# Expected input: ls -F style, $sitedir/path/to/files/
|
||||
# <ls -F+x><symlink hack><Useless?><hiden files >
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue