~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to packages/OS400/initscript.sh

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-04-02 23:35:45 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (3.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090402233545-8xjr3o2sgce5s4bg
Tags: 7.19.4-1
* New upstream release
* Fix "newer bdb version" <explain what you changed and why> 
  (Closes: #517277)
* resolve libtool version confusion, thanks to 
  Stefanos Harhalakis <v13@v13.gr>
* add new dependency on libgcrypt11-dev due to newly arising binary symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
 
# $Id: initscript.sh,v 1.5 2008-05-20 10:21:50 patrickm Exp $
 
3
# $Id: initscript.sh,v 1.7 2009-02-16 15:33:17 patrickm Exp $
4
4
 
5
5
case "${SCRIPTDIR}" in
6
6
/*)     ;;
22
22
 
23
23
#  Extract the SONAME from the library makefile.
24
24
 
25
 
SONAME=`sed -e '/^VERSION=/!d' -e 's/^.* \([0-9]*\):.*$/\1/'           \
 
25
SONAME=`sed -e '/^VERSIONINFO=/!d' -e 's/^.* \([0-9]*\):.*$/\1/' -e 'q' \
26
26
                                                < "${TOPDIR}/lib/Makefile.am"`
27
27
export SONAME
28
28
 
156
156
 
157
157
{
158
158
        basename "${1}"                                                 |
159
 
        tr '[a-z-]' '[A-Z_]'                                              |
 
159
        tr '[a-z-]' '[A-Z_]'                                            |
160
160
        sed -e 's/\..*//'                                               \
161
161
            -e 's/^\(..........\).*/\1/'
162
162
}