You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/04/19 22:25:20 UTC
[whimsy] branch master updated: Now in httpd setup
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new f28532e8 Now in httpd setup
f28532e8 is described below
commit f28532e8895f33bc4c2b3a3169b64ca7128b0ed9
Author: Sebb <se...@apache.org>
AuthorDate: Tue Apr 19 23:25:11 2022 +0100
Now in httpd setup
---
www/test.cgi | 1 -
1 file changed, 1 deletion(-)
diff --git a/www/test.cgi b/www/test.cgi
index a9f0c358..c7a125ff 100755
--- a/www/test.cgi
+++ b/www/test.cgi
@@ -51,7 +51,6 @@ if query and not query.empty? and ENV['SCRIPT_URL'] == '/test.cgi'
puts_system('which', '-a', 'gem')
puts_system('PATH=/usr/local/bin:$PATH which -a gem')
puts_system('service', 'puppet', 'status')
- ENV['HOME'] = `getent passwd www-data`.split(':')[5] # HOME is needed for Git to work
puts_system('git', '-C', '/srv/whimsy', 'show', '--format="%h, %ci %cr"', '-s', 'HEAD')
puts_system('git', '-C', '/srv/whimsy', 'ls-remote', 'origin', 'master')
wait=query.match(/^sleep=(\d+)$/)[1].to_i rescue 0