diff options
| author | Richard Purdie <richard@openedhand.com> | 2007-11-25 15:39:51 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2007-11-25 15:39:51 +0000 |
| commit | 5d60f712ae3bc43d90525880b01a2e2ea03501a2 (patch) | |
| tree | 95458aa4de9dbf0c84bdde440e526718b241edfb /meta | |
| parent | c0adbcbc1cbf6cd5a2a1cc41f5c7bcb8988019f6 (diff) | |
| download | poky-5d60f712ae3bc43d90525880b01a2e2ea03501a2.tar.gz | |
stage-manager: copy files, don't move them
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3233 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
| -rwxr-xr-x | meta/packages/stage-manager/files/stage-manager | 4 | ||||
| -rw-r--r-- | meta/packages/stage-manager/stagemanager-native_0.0.1.bb | 2 |
2 files changed, 3 insertions, 3 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: |
diff --git a/meta/packages/stage-manager/stagemanager-native_0.0.1.bb b/meta/packages/stage-manager/stagemanager-native_0.0.1.bb index 7074d37307..b1f3367209 100644 --- a/meta/packages/stage-manager/stagemanager-native_0.0.1.bb +++ b/meta/packages/stage-manager/stagemanager-native_0.0.1.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | DESCRIPTION = "Helper script for packaged-staging.bbclass" | 1 | DESCRIPTION = "Helper script for packaged-staging.bbclass" |
| 2 | PR = "r1" | 2 | PR = "r2" |
| 3 | 3 | ||
| 4 | SRC_URI = "file://stage-manager" | 4 | SRC_URI = "file://stage-manager" |
| 5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
