[Ultrapossum-cvs 390] demo/haviewer 1.2,1.3,haviewer

Back to archive index

Masato Taruishi taru****@users*****
2004年 9月 11日 (土) 23:56:32 JST


===================================================================
RCS file: demo/haviewer/haviewer,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- demo/haviewer/haviewer	2004/06/18 05:39:58	1.2
+++ demo/haviewer/haviewer	2004/09/11 14:56:32	1.3
@@ -1,8 +1,12 @@
-#!/usr/bin/env bash
+#!/bin/sh
 
-eval `ultrapossum-config init`
-trap "eval `ultrapossum-config term`" 0
+set -e
 
-./$0.pl
+SHAREDIR=/usr/share/haviewer
 
+if test -f "lib/haviewer/haviewer.rb"; then
+  SHAREDIR=`pwd`
+fi
+
+ruby -I$SHAREDIR/lib $SHAREDIR/lib/haviewer/haviewer.rb $SHAREDIR/haviewer.glade
 



Ultrapossum-cvs メーリングリストの案内
Back to archive index