lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 30f630e 2/8: Adjust debian-msw hybrid FOP com


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 30f630e 2/8: Adjust debian-msw hybrid FOP command
Date: Tue, 24 Apr 2018 07:02:35 -0400 (EDT)

branch: master
commit 30f630ee24c5c3c6d81206ecf040ea1ea418e2a5
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Adjust debian-msw hybrid FOP command
    
    A routine debian update caused $(whence java) to change.
---
 gwc/develop1.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gwc/develop1.txt b/gwc/develop1.txt
index 3664cb3..a59e2d1 100644
--- a/gwc/develop1.txt
+++ b/gwc/develop1.txt
@@ -242,6 +242,11 @@ popd
 
 for XYZZY in billion; do JAVA_HOME=$(dirname $(dirname $(dirname $(readlink -f 
$(whence java))))) /opt/lmi/third_party/fop-0.20.5/fop.sh -fo 
"/opt/lmi/bin/old/$XYZZY.fo.xml" -pdf "/opt/lmi/bin/old/$XYZZY.pdf"; done 2>&1 
|less -S
 
+  # ...the exact number of "dirname" commands depends on where java is
+  # installed, so try a different number of them if that failed, e.g.:
+
+for XYZZY in billion; do JAVA_HOME=$(dirname $(dirname $(readlink -f $(whence 
java)))) /opt/lmi/third_party/fop-0.20.5/fop.sh -fo 
"/opt/lmi/bin/old/$XYZZY.fo.xml" -pdf "/opt/lmi/bin/old/$XYZZY.pdf"; done 2>&1 
|less -S
+
   # Miscellany (no particular screen)
 
 cd /opt/lmi/src/lmi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]