dmsquash-generator.sh: properly escape backslash in path

We need an actual bashslash in the filename on disk.

https://bugzilla.redhat.com/show_bug.cgi?id=1508794
master
Zbigniew Jędrzejewski-Szmek 2017-11-02 17:04:49 +01:00
parent d976e19325
commit 38ff9dfbe5
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ ROOTFLAGS="$(getarg rootflags)"
else
echo "What=/dev/mapper/live-rw"
[ -n "$ROOTFLAGS" ] && echo "Options=${ROOTFLAGS}"
_dev=dev-mapper-live\x2drw
_dev=$'dev-mapper-live\\x2drw'
fi
} > "$GENERATOR_DIR"/sysroot.mount