sysmocom-upload.sh: Make sure that not the wrong dir is synced
This commit is contained in:
parent
0b9c954d0b
commit
267d7a4dab
|
@ -1,4 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ `pwd` != '/home/vagrant/generic-poky/build' ]; then
|
||||
echo "Must be called from the sysmoBTS build directory"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
rsync --delete -avz tmp/deploy/ipk/ generic@sysmocom-downloads:sysmobts/201208-testing/ipk
|
||||
rsync --delete -avz tmp/deploy/images/ generic@sysmocom-downloads:sysmobts/201208-testing/images
|
||||
rsync --delete -avz tmp/deploy/tools/ generic@sysmocom-downloads:sysmobts/201208-testing/tools
|
||||
|
|
Loading…
Reference in New Issue