[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Thu Mar 6 16:44:55 UTC 2008


kawas
Thu Mar  6 11:44:55 EST 2008
Update of /home/repository/moby/moby-live/Perl/MOBY-Server/bin/scripts
In directory dev.open-bio.org:/tmp/cvs-serv24808/Perl/MOBY-Server/bin/scripts

Modified Files:
	moby-s-install.pl 
Log Message:
*updated the script to make the cgi files copied executable
*fixed some of the messages that came out of the script

moby-live/Perl/MOBY-Server/bin/scripts moby-s-install.pl,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY-Server/bin/scripts/moby-s-install.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Perl/MOBY-Server/bin/scripts/moby-s-install.pl	2008/02/21 00:21:28	1.1
+++ /home/repository/moby/moby-live/Perl/MOBY-Server/bin/scripts/moby-s-install.pl	2008/03/06 16:44:55	1.2
@@ -188,6 +188,10 @@
 	} else {
 		say "\n$file_desc created: '$file'\n\tPlease ensure that the file is executable!\n";
 	}
+	# try to make file executable
+	eval {
+		my $mode = 0655;   chmod $mode, "$file";
+	};
 }
 
 # create a config file from a template
@@ -1253,7 +1257,7 @@
 
 #
 
-say 'Please remember to set up the RDF agent! Just restart apache and your registry has been set up!\n\nDone.';
+say "Please remember to set up the RDF agent! Just restart apache and your registry has been set up!\n\nDone.";
 
 package SimplePrompt;
 




More information about the MOBY-guts mailing list