commit | 2dc7045f2b7bdc15b8affc95f1138e24455109b3 | [log] [tgz] |
---|---|---|
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | Wed Feb 15 14:33:25 2012 +0000 |
committer | Steve Kondik <shade@chemlab.org> | Sat Feb 18 12:28:37 2012 -0800 |
tree | 8f002e18f3c814e59c4da7816f4273c64495edaa | |
parent | f342837e6976821a84910f188a6d85cbcbffe53f [diff] |
backuptool: Deal with multiple files with the same name Since the destination for all backed up files during an installation was /tmp, all files sharing a name (like the full_model.bin files from the various face detectors) ended up being restored as copies of the last such file, effectively breaking the backup. As a fix, when backing up files, use the entire original path to make sure they're kept separate and restorable. Change-Id: I399f7a9433a225871d97e0ecaeb051a90e68696b