Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
filelist2content: Accept backslash in filenames
Use `read -r` to avoid interpreting backslash when reading the file
list.
  • Loading branch information
donald committed May 10, 2023
1 parent f3a9a54 commit 4f728ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filelist2content.sh.in
Expand Up @@ -64,7 +64,7 @@ function do_f2c() {
exit 1
fi

while read filename ; do
while read -r filename ; do
data=$(stat --format "$(get_format_string)" "${root}${filename}")

if [ "$?" -gt 0 ] ; then
Expand Down

0 comments on commit 4f728ff

Please sign in to comment.