Mercurial > hg > xemacs-beta
annotate lib-src/installexe.sh @ 4940:9113c5044de8
(for main branch) add long comment about types of magic symbols
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-20 Ben Wing <ben@xemacs.org>
* symbols.c:
Add long comment about the types of magic symbols, and the various
declarations that go along with them.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 20 Jan 2010 22:30:33 -0600 |
parents | 8a653fbe5c27 |
children | 308d34e9f07d |
rev | line source |
---|---|
462 | 1 #!bash |
428 | 2 |
4781
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
3 # Copyright (C) 1998 Andy Piper |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
4 |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
5 # This file is part of XEmacs. |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
6 |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
7 # XEmacs is free software; you can redistribute it and/or modify it |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
8 # under the terms of the GNU General Public License as published by |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
9 # the Free Software Foundation; either version 2, or (at your |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
10 # option) any later version. |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
11 |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
12 # XEmacs is distributed in the hope that it will be useful, but |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
13 # WITHOUT ANY WARRANTY; without even the implied warranty of |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
15 # General Public License for more details. |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
16 |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
18 # along with XEmacs; see the file COPYING. If not, write to the Free |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
19 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
20 # Boston, MA 02110-1301, USA. |
8a653fbe5c27
Add copyright and GPL v2 or later notices to Andy Piper's contributions, with
Jerry James <james@xemacs.org>
parents:
2940
diff
changeset
|
21 |
428 | 22 install_prog=$1 |
23 shift | |
24 | |
25 tstr="" | |
462 | 26 |
2940 | 27 while [[ $# -gt 0 ]] |
428 | 28 do |
2940 | 29 if [[ -f $1.exe ]] |
428 | 30 then |
2940 | 31 if [[ "$2" == *.exe ]] |
32 then | |
33 tstr="$tstr$1 $2" | |
34 else | |
35 tstr="$tstr$1.exe $2.exe" | |
36 fi | |
428 | 37 shift 2 |
38 else | |
39 tstr="$tstr$1 " | |
40 fi | |
41 shift | |
42 done | |
43 echo "$install_prog $tstr" | |
44 eval "$install_prog $tstr" | |
45 exit | |
46 |