~ubuntu-branches/ubuntu/trusty/psicode/trusty

« back to all changes in this revision

Viewing changes to bin/config.local

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2008-06-07 16:49:57 UTC
  • mfrom: (2.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080607164957-8pifvb133yjlkagn
Tags: 3.3.0-3
* debian/rules (DEB_MAKE_CHECK_TARGET): Do not abort test suite on
  failures.
* debian/rules (DEB_CONFIGURE_EXTRA_FLAGS): Set ${bindir} to /usr/lib/psi.
* debian/rules (install/psi3): Move psi3 file to /usr/bin.
* debian/patches/07_464867_move_executables.dpatch: New patch, add
  /usr/lib/psi to the $PATH, so that the moved executables are found.
  (closes: #464867)
* debian/patches/00list: Adjusted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
#
3
 
# This script does some additional tests on system after config.guess
4
 
# usage: config.local [target_type]
5
 
#
6
 
# This script should be used if:
7
 
#  1) config.guess produces non-satisfactory results 
8
 
#     (e.g. if it's not able to distinguish certain architecture types)
9
 
#  2) config.guess fails
10
 
#
11
 
# Feel free to modify this script but do not check-in changes without
12
 
# psiadm's permission!!!
13
 
#
14
 
# Center for Computational Quantum Chemistry,
15
 
# University of Georgia,
16
 
# Athens, GA
17
 
# February 2000
18
 
 
19
 
target=$1
20
 
# Analyze the $target and modify it in any way you like
21
 
 
22
 
#
23
 
# Always make sure that there're at least 3 components to any target
24
 
# To do that convert target into a cpu, vendor, and os.
25
 
# If any part is missing, then fill it in with unknown. 
26
 
cpu=`echo $target | sed 's/\([^-]*\)-\([^-]*\)-\([^-]*\)-*.*/\1/'`
27
 
vendor=`echo $target | sed 's/\([^-]*\)-\([^-]*\)-\([^-]*\)-*.*/\2/'`
28
 
os=`echo $target | sed 's/\([^-]*\)-\([^-]*\)-\([^-]*\)-*.*/\3/'`
29
 
if [ -z "$cpu" ]; then cpu=unknown; fi
30
 
if [ -z "$vendor" ]; then vendor=unknown; fi
31
 
if [ -z "$os" ]; then os=unknown; fi
32
 
 
33
 
 
34
 
echo $target