Merge pull request #59 from lnykryn/master

dracut-functions: use [[ ]] with -n and no quotes
master
Harald Hoyer 2015-04-30 09:29:06 +02:00
commit ffa0ee5d16
1 changed files with 1 additions and 1 deletions

View File

@ -977,7 +977,7 @@ inst_rules_wildcard() {
_found=$_rule
fi
done
if [ -n ${hostonly} ] ; then
if [[ -n ${hostonly} ]] ; then
for _rule in ${_target}/$1 ; do
if [[ -f $_rule ]]; then
inst_rule_programs "$_rule"