~ubuntu-branches/ubuntu/karmic/cvm/karmic

« back to all changes in this revision

Viewing changes to choose.sh

  • Committer: Bazaar Package Importer
  • Author(s): Gerrit Pape
  • Date: 2005-01-15 11:32:52 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050115113252-0jj7skrzjb0s6837
Tags: 0.32-1
* new upstream version.
* debian/copyright: adapt, 2005.
* debian/diff/ld.diff: adapt.
* debian/rules: strip diet binaries if DEB_BUILD_OPTIONS=diet is set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
result="$4"
3
 
 
4
 
case "$1" in
5
 
  *c*) ./compile $2.c >/dev/null 2>&1 || result="$3" ;;
6
 
esac
7
 
 
8
 
case "$1" in
9
 
  *l*) ./load $2 >/dev/null 2>&1 || result="$3" ;;
10
 
esac
11
 
 
12
 
case "$1" in
13
 
  *r*) ./$2 >/dev/null 2>&1 || result="$3" ;;
14
 
esac
15
 
 
16
 
rm -f $2.o $2
17
 
 
18
 
exec cat "$result"