--- bksys/generic.py.old 2006-10-14 22:04:18.000000000 +0200 +++ bksys/generic.py 2009-03-23 22:12:12.000000000 +0100 @@ -244,7 +244,8 @@ ret=self.env.Program(self.p_localtarget, self.p_localsource) if not self.env.has_key('NOAUTOINSTALL'): ins=self.env.bksys_install(self.instdir, ret) - if self.perms: self.env.AddPostAction(ins, self.env.Chmod(ins, self.perms)) + if ins and self.perms: + for i in ins: self.env.AddPostAction(ins, self.env.Chmod(str(i), self.perms)) elif self.type=='staticlib': ret=self.env.StaticLibrary(self.p_localtarget, self.p_localsource)