aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/git-pre-push.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-07-25 16:00:57 -0300
committerEuAndreh <eu@euandre.org>2021-07-25 16:00:57 -0300
commit301a644485dac428e6ef09396bbc9f7c3180849b (patch)
treec1b7eac20494127ce283a29a4da6e08be9f3e765 /aux/ci/git-pre-push.sh
parentsrc/xyz/euandreh/queue.scm: Update mdpo to 0.3.63 (diff)
downloadpackages-301a644485dac428e6ef09396bbc9f7c3180849b.tar.gz
packages-301a644485dac428e6ef09396bbc9f7c3180849b.tar.xz
aux/: Update
Diffstat (limited to 'aux/ci/git-pre-push.sh')
-rwxr-xr-xaux/ci/git-pre-push.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/aux/ci/git-pre-push.sh b/aux/ci/git-pre-push.sh
index cccd6e5..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
PROJECT="$(basename "$PWD")"
LOGS_DIR="/opt/ci/$PROJECT/logs"
-REMOTE_GIT_DIR="/srv/git/$PROJECT.git"
+REMOTE_GIT_DIR="/srv/http/$PROJECT.git"
-DESCRIPTION="$(mktemp)"
+DESCRIPTION="$(mkstemp)"
if [ -f description ]
then
cp description "$DESCRIPTION"