summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-26 03:22:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-26 03:22:27 +0000
commit4608fea99ff269a242c154a4f53189be02d455b8 (patch)
tree04fea395dc976171a84f9c31ff20a1b015436623
parent96b095468c3fd74d79d06656577c7b62a8fb4ed7 (diff)
downloaddrakx-backup-do-not-use-4608fea99ff269a242c154a4f53189be02d455b8.tar
drakx-backup-do-not-use-4608fea99ff269a242c154a4f53189be02d455b8.tar.gz
drakx-backup-do-not-use-4608fea99ff269a242c154a4f53189be02d455b8.tar.bz2
drakx-backup-do-not-use-4608fea99ff269a242c154a4f53189be02d455b8.tar.xz
drakx-backup-do-not-use-4608fea99ff269a242c154a4f53189be02d455b8.zip
fix upload_only
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5acf54a43..63f1a4fd9 100644
--- a/Makefile
+++ b/Makefile
@@ -67,11 +67,11 @@ upload:
$(MAKE) upload_only
upload_only:
- function upload() { rsync -qSavz --verbose --exclude '*~' -e ssh --delete $$1/$$2 mandrake@ken:/c/cooker/$$1; } ;\
+ function upload() { rel=`echo $$1 | sed 's!$(ROOTDEST)/!!'`; rsync -qSavz --verbose --exclude '*~' -e ssh --delete $$1/$$2 mandrake@ken:/c/cooker/$$rel; } ;\
upload $(STAGE2_LIVE) '' ;\
upload $(MEDIA_INFO_DEST) 'compssUsers*' ;\
upload $(MEDIA_INFO_DEST) rpmsrate ;\
- upload $(GENERIC_INSTALL_DEST) '*_stage2.bz2' ;\
+ upload $(STAGE2_DEST) '*_stage2.bz2' ;\
upload $(EXTRA_INSTALL_DEST)/advertising '' ;\
upload $(MISC_DEST) gendistrib ;\
upload $(MISC_DEST) make_mdkinst_stage2 ;\