summaryrefslogtreecommitdiff
path: root/mipsrelease
blob: 82cd51f564124bf35a76ff5436f687a5c6cc2b52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
# Temporary script for uploading mips64el packages to the server

source /etc/makepkg.conf
source /etc/libretools.conf

for pkg in $@; do
	scp $pkg ${PARABOLAHOST}:mips64el/stage3/
done

scp ${PARABOLAHOST}:mips64el/stage3/stage3.db.tar.gz ${SRCDEST}/ && \
repo-add ${SRCDEST}/stage3.db.tar.gz $@ && \
scp ${SRCDEST}/stage3.db.tar.gz ${PARABOLAHOST}:mips64el/stage3/

#ssh parabola bash -c "cd /home/parabolavnx/mips64el/stage3/ ; repo-add stage3.db.tar.gz $@"

exit $?