policycoreutils/policycoreutils-rhat.patch
cvsdist 634084fef4 auto-import changelog data from policycoreutils-1.15.3-2.src.rpm
* Mon Aug 02 2004 Dan Walsh <dwalsh@redhat.com> 1.15.3-2
- Fix genhomedircon join command
2004-09-09 10:37:46 +00:00

29 lines
818 B
Diff

--- policycoreutils-1.15.3/scripts/genhomedircon.rhat 2004-07-29 16:26:01.000000000 -0400
+++ policycoreutils-1.15.3/scripts/genhomedircon 2004-08-02 10:11:05.698825964 -0400
@@ -83,7 +83,7 @@
if rc[0] == 0:
print rc[1]
else:
- errorExit(join("grep/sed error ", rc[1]))
+ errorExit(string.join("grep/sed error ", rc[1]))
return rc
try:
@@ -128,7 +128,7 @@
if rc[0] == 0:
print rc[1]
else:
- errorExit(join("sed error ", rc[1]))
+ errorExit(string.join("sed error ", rc[1]))
users = getUsers()
print "\n#\n# User-specific file contexts\n#\n"
@@ -137,6 +137,6 @@
for u in users.keys():
update(sys.argv[2], u, users[u])
except ValueError, error:
- errorExit(join("ValueError ", error))
+ errorExit(strin.join("ValueError ", error))
except IndexError, error:
errorExit("IndexError")