diff options
Diffstat (limited to 'meta/packages/stage-manager/files/stage-manager')
-rwxr-xr-x | meta/packages/stage-manager/files/stage-manager | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/packages/stage-manager/files/stage-manager b/meta/packages/stage-manager/files/stage-manager index 733a0a4f72..06495dbb02 100755 --- a/meta/packages/stage-manager/files/stage-manager +++ b/meta/packages/stage-manager/files/stage-manager | |||
@@ -93,7 +93,7 @@ if __name__ == "__main__": | |||
93 | if options.copydir: | 93 | if options.copydir: |
94 | copypath = os.path.join(options.copydir, path.replace(options.parentdir, '', 1)) | 94 | copypath = os.path.join(options.copydir, path.replace(options.parentdir, '', 1)) |
95 | mkdirhier(os.path.split(copypath)[0]) | 95 | mkdirhier(os.path.split(copypath)[0]) |
96 | os.system("mv " + path + " " + copypath) | 96 | os.system("cp " + path + " " + copypath) |
97 | found = True | 97 | found = True |
98 | else: | 98 | else: |
99 | if cache[path]['ts'] != fstamp[stat.ST_MTIME] or cache[path]['size'] != fstamp[stat.ST_SIZE]: | 99 | if cache[path]['ts'] != fstamp[stat.ST_MTIME] or cache[path]['size'] != fstamp[stat.ST_SIZE]: |
@@ -104,7 +104,7 @@ if __name__ == "__main__": | |||
104 | if options.copydir: | 104 | if options.copydir: |
105 | copypath = os.path.join(options.copydir, path.replace(options.parentdir, '', 1)) | 105 | copypath = os.path.join(options.copydir, path.replace(options.parentdir, '', 1)) |
106 | mkdirhier(os.path.split(copypath)[0]) | 106 | mkdirhier(os.path.split(copypath)[0]) |
107 | os.system("mv " + path + " " + copypath) | 107 | os.system("cp " + path + " " + copypath) |
108 | found = True | 108 | found = True |
109 | 109 | ||
110 | if options.update: | 110 | if options.update: |