From 6a7d16317167fc4de57c507aead81d7651ac9481 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Mon, 14 Jul 2014 18:44:36 +0200 Subject: make \ not act as an escape character while parsing ignore file Use "read -r" to parse the ignore file. --- uninit.d/50vcs-uninit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uninit.d') 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 -- cgit v1.2.3