Quote arguments for kickstart.file.contains and

kickstart.stream.contains

Even when quoting like `kickstart.stream.contains 'debian 5.0'` it would
not work properly.

It will now.
This commit is contained in:
Bruno Tavares 2014-03-03 10:54:35 -03:00
parent 43ec3c569e
commit cb7507e5e6
2 changed files with 2 additions and 2 deletions

View File

@ -4,5 +4,5 @@ kickstart.file.link() {
}
kickstart.file.contains() {
grep -q $2 $1 2>/dev/null
grep -q "$2" $1 2>/dev/null
}

View File

@ -1,3 +1,3 @@
kickstart.stream.contains() {
grep -q $1 2>/dev/null
grep -q "$1" 2>/dev/null
}