~ubuntu-branches/ubuntu/dapper/d-shlibs/dapper

« back to all changes in this revision

Viewing changes to d-shlibmove

  • Committer: Bazaar Package Importer
  • Author(s): Junichi Uekawa
  • Date: 2005-08-30 08:35:02 UTC
  • Revision ID: james.westby@ubuntu.com-20050830083502-2i0zpak7d6h8i5p9
Tags: 0.27
Added override for librt1-dev. Thanks to Max Hofer. (closes: #325416)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
#   d-shlibmove -- move shared library files around for Debian packaging
3
 
#   Copyright (C) 2002 Junichi Uekawa
 
3
#   Copyright (C) 2002, 2005 Junichi Uekawa
4
4
#
5
5
#   This program is free software; you can redistribute it and/or modify
6
6
#   it under the terms of the GNU General Public License as published by
55
55
        exit 1;
56
56
    fi
57
57
    
58
 
    SONAME=$(objdump -p ${LIBNAME} |sed -n 's/^.*SONAME *//p' )
 
58
    SONAME=$(set -o pipefail; objdump -p ${LIBNAME} |sed -n 's/^.*SONAME *//p' )
59
59
    getname "$SONAME"
60
60
    SONAMEPKGNAME="$RETURN"
61
61
    PK=$(basename "$1" | sed 's/\.so$//')