From: dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Tue, 21 Dec 2010 20:51:23 +0000 (+0000)
Subject: Add line feeds to the output of org_tree_proximity.pl
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0c218834595fb8ba3e8921cfac1cf8e9fb9cfd34;p=evergreen%2Fmasslnc.git

Add line feeds to the output of org_tree_proximity.pl

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
---

diff --git a/Open-ILS/src/extras/org_tree_proximity.pl b/Open-ILS/src/extras/org_tree_proximity.pl
index 97a435f505..4cfbaae8bf 100755
--- a/Open-ILS/src/extras/org_tree_proximity.pl
+++ b/Open-ILS/src/extras/org_tree_proximity.pl
@@ -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();