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 2019/12/12 11:53:04 UTC
[whimsy] branch master updated: rbconfig unused;
make script executable
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 2e48ebe rbconfig unused; make script executable
2e48ebe is described below
commit 2e48ebe8cbd9629690f4f454a08876190fcc82bc
Author: Sebb <se...@apache.org>
AuthorDate: Thu Dec 12 11:52:44 2019 +0000
rbconfig unused; make script executable
---
tools/mkconf.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/mkconf.rb b/tools/mkconf.rb
old mode 100644
new mode 100755
index 3d5291e..42ae703
--- a/tools/mkconf.rb
+++ b/tools/mkconf.rb
@@ -1,3 +1,5 @@
+#!/usr/bin/env ruby
+
#
# Generate a whimsy.local version of the deployed whimsy configuration
#
@@ -5,8 +7,6 @@
# ruby vhosttest.rb | ruby mkconf.rb /private/etc/apache2/other/whimsy.conf
#
-require 'rbconfig'
-
if STDIN.tty?
conf = `ssh whimsy.apache.org cat \
/etc/apache2/sites-enabled/*-whimsy-vm-443.conf`