Lines 6644-6649
Link Here
|
6644 |
# old package won't yank the file with it. (non-cfgprot related) |
6644 |
# old package won't yank the file with it. (non-cfgprot related) |
6645 |
os.utime(myrealdest,(thismtime,thismtime)) |
6645 |
os.utime(myrealdest,(thismtime,thismtime)) |
6646 |
zing="---" |
6646 |
zing="---" |
|
|
6647 |
#alright, we've fooled w/ mytime. need to update ar toc mtime's. |
6648 |
if self.settings["ARCH"] == "macos" and myrealdest[-2:] == ".a": |
6649 |
# insert the new mtime into the ar toc. |
6650 |
print "updating toc of %s" % myrealdest |
6651 |
myf=open(myrealdest,"a") |
6652 |
myf.seek(24,0) |
6653 |
myf.write(str(thismtime)) |
6654 |
myf.close() |
6655 |
os.utime(myrealdest,(thismtime,thismtime)) |
6656 |
mymd5=portage_md5.perform_md5(myrealdest) |
6657 |
|
6647 |
if mymtime!=None: |
6658 |
if mymtime!=None: |
6648 |
zing=">>>" |
6659 |
zing=">>>" |
6649 |
outfile.write("obj "+myrealdest+" "+mymd5+" "+str(mymtime)+"\n") |
6660 |
outfile.write("obj "+myrealdest+" "+mymd5+" "+str(mymtime)+"\n") |