diff --exclude-from=exclude --exclude=sepolgen-1.0.8 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-2.0.14/scripts/genhomedircon --- nsapolicycoreutils/scripts/genhomedircon 2007-04-25 11:08:44.000000000 -0400 +++ policycoreutils-2.0.14/scripts/genhomedircon 2007-05-04 09:14:57.000000000 -0400 @@ -302,7 +302,7 @@ regex = re.sub("\(\/\.\*\)\?", "", regex) regex = regex + "/*$" - if re.search(home, regex, 0): + if re.search(regex,home, 0): return 1 except: continue