From 863af4a1c724e9ef13d5011c84f7b6ea8e940c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Fri, 27 Dec 2013 20:33:47 -0300 Subject: Adapt to the current setup --- abslibre | 11 ++++++++--- 1 file 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 -- cgit v1.2.3