summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 20:33:47 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 20:33:47 -0300
commit863af4a1c724e9ef13d5011c84f7b6ea8e940c24 (patch)
tree9576ec8a63d5581c49570edea87ee11746965d5f
parent2e756472a8c75eafc290bc8823013f3ac4335a33 (diff)
Adapt to the current setup
-rwxr-xr-xabslibre11
1 files changed, 8 insertions, 3 deletions
diff --git a/abslibre b/abslibre
index fd2e900..bb7fd12 100755
--- a/abslibre
+++ b/abslibre
@@ -68,8 +68,11 @@ function sync_abs_libre() {
printf "[OK]\n"
}
+# This part is very hacky and particular to the current setup :P
sync_pre_mips64el() {
- pushd /home/parabola/abslibre-pre-mips64el >/dev/null
+ pushd /home/fauno/Repos/abslibre-pre-mips64el >/dev/null
+
+ sudo -u fauno sh -c "
rsync ${SYNCARGS} \
--exclude=.git* \
@@ -83,9 +86,11 @@ sync_pre_mips64el() {
--exclude=staging \
--exclude=testing \
${ABSLIBRE}/x86_64/ \
- /home/parabola/abslibre-pre-mips64el/ && \
+ /home/fauno/Repos/abslibre-pre-mips64el/ && \
git add . && \
- git commit -m "$(date)" -a
+ git commit -m \"$(date)\" -a
+ git push origin master
+ "
}
# Create .abs.tar.gz tarballs