diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-06-07 10:33:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-06-07 10:33:43 +0000 |
commit | 881b6ebb5807c3cf189d8dcb6c07965d75dd866a (patch) | |
tree | 88c7a88fc0729e336d5d449d197532fadc02e7cd | |
parent | 692e24b757bf733737e66ab7bb0ed982e3f88397 (diff) | |
download | drakx-881b6ebb5807c3cf189d8dcb6c07965d75dd866a.tar drakx-881b6ebb5807c3cf189d8dcb6c07965d75dd866a.tar.gz drakx-881b6ebb5807c3cf189d8dcb6c07965d75dd866a.tar.bz2 drakx-881b6ebb5807c3cf189d8dcb6c07965d75dd866a.tar.xz drakx-881b6ebb5807c3cf189d8dcb6c07965d75dd866a.zip |
check all files are world-readable before uploading
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -91,6 +91,9 @@ clean: for i in $(DIRS) rescue; do make -C $$i clean; done find . -name "*~" -o -name ".#*" | xargs rm -f +check: + @badrights=`find $(ROOTDEST)/Mandrake/mdkinst | perl -lne 'print if !((stat)[2] & 4)'`; [ -z "$$badrights" ] || { echo "bad rights for files vvvvvvvvvvvvvvvvvvvvvvvvvv" ; echo "$$badrights" ; echo "bad rights for files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" ; exit 1; } + upload: $(MAKE) clean @@ -98,6 +101,7 @@ upload: tools/addchangelog.pl tools/cvslog2changelog.pl | tools/mailchangelog.pl & $(MAKE) install + $(MAKE) check function upload() { rsync -qSavz --verbose --exclude '*~' -e ssh --delete $(ROOTDEST)/$$1/$$2 mandrake@kenobi:/c/cooker/$$1; } ;\ upload Mandrake/mdkinst '' ;\ |