diff options
author | Pim van den Berg <pim@nethuis.nl> | 2014-07-14 18:44:36 +0200 |
---|---|---|
committer | Pim van den Berg <pim@nethuis.nl> | 2014-07-14 20:20:13 +0200 |
commit | 6a7d16317167fc4de57c507aead81d7651ac9481 (patch) | |
tree | 1ae2776a2ce801f7f2a23ceb90801595ae18bc51 /uninit.d/50vcs-uninit | |
parent | 52582f72a50502bc467abf679618b7c101592e74 (diff) |
make \ not act as an escape character while parsing ignore file
Use "read -r" to parse the ignore file.
Diffstat (limited to 'uninit.d/50vcs-uninit')
-rwxr-xr-x | uninit.d/50vcs-uninit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uninit.d/50vcs-uninit b/uninit.d/50vcs-uninit index b61abfd..b330f1b 100755 --- a/uninit.d/50vcs-uninit +++ b/uninit.d/50vcs-uninit @@ -32,7 +32,7 @@ else file=$($tempfile) otherentries= skipping= - while read line; do + while read -r line; do if echo "$line" | grep -q "$managed_by_etckeeper"; then if [ ! "$skipping" ]; then skipping=1 |