Add line feeds to the output of org_tree_proximity.pl
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 21 Dec 2010 20:51:23 +0000 (20:51 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 21 Dec 2010 20:51:23 +0000 (20:51 +0000)
When another routine was appended to autogen.sh, the output
was appended to the result string returned from org_tree_proximity.pl;
adding a linefeed cleans that up.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19034 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/extras/org_tree_proximity.pl

index 97a435f..4cfbaae 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/perl
+# vim:et:ts=4:sw=4
 # -----------------------------------------------------------------------
 # Copyright (C) 2008  Laurentian University
 # Dan Scott <dscott@laurentian.ca>
@@ -16,8 +17,6 @@
 
 # calculate the proximity of organizations in the organization tree
 
-# vim:noet:ts=4:sw=4
-
 use OpenSRF::AppSession;
 use OpenSRF::System;
 use OpenILS::Utils::Fieldmapper;
@@ -32,9 +31,9 @@ my $ses = OpenSRF::AppSession->create("open-ils.storage");
 my $result = $ses->request("open-ils.storage.actor.org_unit.refresh_proximity");
 
 if ($result) {
-       print "Successfully updated the organization proximity";
+    print "Successfully updated the organization proximity\n";
 } else {
-       print "Failed to update the organiziation proximity";
+    print "Failed to update the organization proximity\n";
 }
 
 $ses->disconnect();