~jontai/openvista-gtm-integration/bug683878

« back to all changes in this revision

Viewing changes to packages/deb/Ubuntu/9.04/fis-gtm-5.4000/debian/patches/99-noninteractive-configure.patch

  • Committer: Jonathan Tai
  • Date: 2010-11-13 17:14:39 UTC
  • mfrom: (141.1.5 gtm-5.4000a)
  • Revision ID: jon.tai@medsphere.com-20101113171439-fnfoud2h0dj26ob0
Merge bug 672798 - Support GT.M 5.4-000A, fixes $QUIT

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- configure.orig      2010-02-04 16:16:22.915346134 -0800
2
 
+++ configure   2010-02-04 16:19:53.537910871 -0800
3
 
@@ -165,7 +165,7 @@
4
 
 # create temporary file to test for valid user and group names
5
 
 touch tmp_owngrp
6
 
 $echo "What account should own the files? ($defowner) \c"
7
 
-read resp
8
 
+resp=""
9
 
 if [ "$resp" = "" ] ; then
10
 
        owner=$defowner
11
 
 else
12
 
@@ -183,10 +183,10 @@
13
 
 # if so, $group will be set already
14
 
 if [ -z "$group_restricted_asked" ] ; then
15
 
        $echo "Should execution of GT.M be restricted to a group? (y or n) \c"
16
 
-       read resp
17
 
+       resp="y"
18
 
        if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
19
 
                $echo "Enter group name: \c"
20
 
-               read group
21
 
+               group="bin"
22
 
                if [ "$group" != "" ] ; then
23
 
                        chgrp $group tmp_owngrp 2> /dev/null
24
 
                        if [ 0 != "$?" ] ; then
25
 
@@ -201,7 +201,7 @@
26
 
 rm tmp_owngrp
27
 
 
28
 
 $echo "In what directory should GT.M be installed? \c"
29
 
-read gtmdist
30
 
+gtmdist="@GTM_DIST@"
31
 
 
32
 
 # if gtmdist is relative then need to make it absolute
33
 
 
34
 
@@ -227,7 +227,7 @@
35
 
        $echo "Directory $gtmdist does not exist. Do you wish to create it as part of"
36
 
        $echo "this installation? (y or n) \c"
37
 
 
38
 
-       read resp
39
 
+       resp="y"
40
 
        if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
41
 
                mkdir -p $gtmdist
42
 
                chmod 0755 $gtmdist
43
 
@@ -271,14 +271,14 @@
44
 
                library_path="/usr/local/lib32 /usr/local/lib /usr/lib32 /usr/lib /lib32 /lib"
45
 
        fi
46
 
        $echo "Should unicode support be installed? (y or n) \c"
47
 
-       read resp
48
 
+       resp="y"
49
 
        if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
50
 
                would_like_utf8=1
51
 
                $echo "Should an ICU version other than the default be used? (y or n) \c"
52
 
-               read resp
53
 
+               resp="y"
54
 
                if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
55
 
                        $echo "Enter ICU version (at least ICU version 3.6 is required. Enter as <major-ver>.<minor-ver>): \c"
56
 
-                       read gtm_icu_version
57
 
+                       gtm_icu_version="@GTM_ICU_VERSION@"
58
 
                        icu_ver=`$echo $gtm_icu_version | sed 's/\.//'`
59
 
                        majmin=`$echo $icu_ver | cut -f 1 -d "."`
60
 
                        if [ "$majmin" -lt "36" ] ; then
61
 
@@ -651,7 +651,7 @@
62
 
 $echo "only the uppercase versions of the files."
63
 
 $echo ""
64
 
 $echo "Do you want uppercase and lowercase versions of the MUMPS routines? (y or n)\c"
65
 
-read resp
66
 
+resp="n"
67
 
 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
68
 
        $echo ""
69
 
        $echo "Creating lowercase versions of the MUMPS routines."
70
 
@@ -896,7 +896,7 @@
71
 
 $echo ""
72
 
 $echo "Installation completed. Would you like all the temporary files"
73
 
 $echo "removed from this directory? (y or n) \c"
74
 
-read resp
75
 
+resp="n"
76
 
 
77
 
 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
78
 
        \rm -rf $binaries $pathmods $rscripts $nscripts $dirs configure \