|
@@ -97,7 +97,7 @@ class Archiver(object):
|
|
except OSError, e:
|
|
except OSError, e:
|
|
self.print_error('%s: %s', path, e)
|
|
self.print_error('%s: %s', path, e)
|
|
else:
|
|
else:
|
|
- for filename in entries:
|
|
|
|
|
|
+ for filename in sorted(entries):
|
|
self._process(archive, cache, patterns, skip_inodes,
|
|
self._process(archive, cache, patterns, skip_inodes,
|
|
os.path.join(path, filename))
|
|
os.path.join(path, filename))
|
|
elif stat.S_ISLNK(st.st_mode):
|
|
elif stat.S_ISLNK(st.st_mode):
|