From 3bceeb4da5ec953309bbc3e61d04f078198966d2 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 27 Jul 2021 12:51:36 -0300 Subject: aux/: Update, adjust Makefile --- aux/ci/git-pre-push.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'aux/ci/git-pre-push.sh') diff --git a/aux/ci/git-pre-push.sh b/aux/ci/git-pre-push.sh index e73b9b8..eaaa7bd 100755 --- a/aux/ci/git-pre-push.sh +++ b/aux/ci/git-pre-push.sh @@ -2,12 +2,13 @@ set -eux TLD="$(cat aux/tld.txt)" +. aux/lib.sh -PACKAGE="$(basename "$PWD")" -LOGS_DIR="/opt/ci/$PACKAGE/logs" -REMOTE_GIT_DIR="/srv/git/$PACKAGE.git" +PROJECT="$(basename "$PWD")" +LOGS_DIR="/opt/ci/$PROJECT/logs" +REMOTE_GIT_DIR="/srv/http/$PROJECT.git" -DESCRIPTION="$(mktemp)" +DESCRIPTION="$(mkstemp)" if [ -f description ] then cp description "$DESCRIPTION" -- cgit v1.2.3