diff options
author | Parabola git <git@parabola.nu> | 2020-03-12 11:00:02 +0000 |
---|---|---|
committer | Parabola git <git@parabola.nu> | 2020-03-12 11:00:02 +0000 |
commit | 07f7d6925c481ab39bd13d382bf2571046547676 (patch) | |
tree | 1cc501fac995666340841a7a483c2d1eea78b538 /abslibre/blacklist.git | |
parent | 6321efc351a9e719986a1c93c5159f39de125886 (diff) |
Update from cron
Diffstat (limited to 'abslibre/blacklist.git')
-rwxr-xr-x | abslibre/blacklist.git/hooks/pre-receive | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/abslibre/blacklist.git/hooks/pre-receive b/abslibre/blacklist.git/hooks/pre-receive index e952cda..6228430 100755 --- a/abslibre/blacklist.git/hooks/pre-receive +++ b/abslibre/blacklist.git/hooks/pre-receive @@ -9,7 +9,7 @@ ## constants ## readonly LOG_BLACKLIST_GIT_HOOK=1 -readonly LOG_DIR=/var/log/blacklist-validate +readonly LOG_DIR=/var/log/blacklist readonly SHA_REGEX='^([0-9a-f]{40})$' @@ -18,8 +18,9 @@ readonly SHA_REGEX='^([0-9a-f]{40})$' LogFile() # (ref) { local ref=$1 + local log_file=${LOG_DIR}/validate-${ref} - echo ${LOG_DIR}/validate-${ref} + echo ${log_file} } LogParseRefData() # (ref_data prev_sha curr_sha ref_file repo ref is_deletion) |