aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-10-02 14:13:11 +0000
committerKoen Kooi <koen@openembedded.org>2006-10-02 14:13:11 +0000
commitdf25fd3c973f0f9445efba361680f89af2b63a83 (patch)
tree42680116024b288f0e2cdc57411f869473a10848
parent5978edcdfc4be61f3bd9f231f9b4a09c194aa00e (diff)
downloadopenembedded-df25fd3c973f0f9445efba361680f89af2b63a83.tar.gz
openembedded-df25fd3c973f0f9445efba361680f89af2b63a83.tar.bz2
openembedded-df25fd3c973f0f9445efba361680f89af2b63a83.zip
contrib/scripts/stage-manager: use 'mv' instead of 'cp'
-rwxr-xr-xcontrib/scripts/stage-manager4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/scripts/stage-manager b/contrib/scripts/stage-manager
index d08e8d8a37..3fed475906 100755
--- a/contrib/scripts/stage-manager
+++ b/contrib/scripts/stage-manager
@@ -83,7 +83,7 @@ if __name__ == "__main__":
if options.copydir:
copypath = os.path.join(options.copydir, path.replace(options.parentdir, '', 1))
mkdirhier(os.path.split(copypath)[0])
- os.system("cp " + path + " " + copypath)
+ os.system("mv " + path + " " + copypath)
found = True
else:
if cache[path]['ts'] != fstamp[stat.ST_MTIME] or cache[path]['size'] != fstamp[stat.ST_SIZE]:
@@ -94,7 +94,7 @@ if __name__ == "__main__":
if options.copydir:
copypath = os.path.join(options.copydir, path.replace(options.parentdir, '', 1))
mkdirhier(os.path.split(copypath)[0])
- os.system("cp " + path + " " + copypath)
+ os.system("mv " + path + " " + copypath)
found = True
if options.update: