[Swift-commit] r3317 - in SwiftApps/adem-osg: bin lib

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon May 3 14:56:49 CDT 2010


Author: aespinosa
Date: 2010-05-03 14:56:49 -0500 (Mon, 03 May 2010)
New Revision: 3317

Added:
   SwiftApps/adem-osg/bin/adem
Modified:
   SwiftApps/adem-osg/lib/adem.rb
Log:
Moved executable script part to bin/

Added: SwiftApps/adem-osg/bin/adem
===================================================================
--- SwiftApps/adem-osg/bin/adem	                        (rev 0)
+++ SwiftApps/adem-osg/bin/adem	2010-05-03 19:56:49 UTC (rev 3317)
@@ -0,0 +1,7 @@
+#!/usr/bin/env ruby
+
+require 'adem'
+
+if $0 == __FILE__
+  run_command ARGV, CONFIGURATION_FILE, SITES_FILE
+end


Property changes on: SwiftApps/adem-osg/bin/adem
___________________________________________________________________
Name: svn:executable
   + *

Modified: SwiftApps/adem-osg/lib/adem.rb
===================================================================
--- SwiftApps/adem-osg/lib/adem.rb	2010-05-03 19:56:46 UTC (rev 3316)
+++ SwiftApps/adem-osg/lib/adem.rb	2010-05-03 19:56:49 UTC (rev 3317)
@@ -1,10 +1,3 @@
-#!/usr/bin/env ruby
-
-# = ADEM: Application software DEployment and Management
-# Author::       Zhengxiong Hou (original sh prototype)
-# Author:: Allan Espinosa (rewrite to ruby)
-#
-
 require 'yaml'
 require 'ftools'
 
@@ -177,7 +170,3 @@
   return conf if command == "sites"
   app(args, conf) if command == "app"
 end
-
-if $0 == __FILE__
-  run_command ARGV, CONFIGURATION_FILE, SITES_FILE
-end




More information about the Swift-commit mailing list