summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-25 15:39:51 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-25 15:39:51 +0000
commit5d60f712ae3bc43d90525880b01a2e2ea03501a2 (patch)
tree95458aa4de9dbf0c84bdde440e526718b241edfb
parentc0adbcbc1cbf6cd5a2a1cc41f5c7bcb8988019f6 (diff)
downloadpoky-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
-rwxr-xr-xmeta/packages/stage-manager/files/stage-manager4
-rw-r--r--meta/packages/stage-manager/stagemanager-native_0.0.1.bb2
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 @@
1DESCRIPTION = "Helper script for packaged-staging.bbclass" 1DESCRIPTION = "Helper script for packaged-staging.bbclass"
2PR = "r1" 2PR = "r2"
3 3
4SRC_URI = "file://stage-manager" 4SRC_URI = "file://stage-manager"
5LICENSE = "GPLv2" 5LICENSE = "GPLv2"