Commit | Line | Data |
---|---|---|
c6667804 | 1 | ?RCS: $Id$ |
d8875586 MBT |
2 | ?RCS: |
3 | ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi | |
4 | ?RCS: | |
c6667804 | 5 | ?RCS: You may redistribute only under the terms of the Artistic License, |
d8875586 MBT |
6 | ?RCS: as specified in the README file that comes with the distribution. |
7 | ?RCS: You may reuse parts of this distribution only within the terms of | |
c6667804 | 8 | ?RCS: that same Artistic License; a copy of which may be found at the root |
d8875586 MBT |
9 | ?RCS: of the source tree for dist 4.0. |
10 | ?RCS: | |
11 | ?RCS: $Log: Extractall.U,v $ | |
12 | ?RCS: Revision 3.0.1.1 1997/02/28 15:00:43 ram | |
13 | ?RCS: patch61: created | |
14 | ?RCS: | |
15 | ?X: | |
16 | ?X: If extraction has been requested, load the configuration file, perform | |
17 | ?X: the extraction and exit. | |
18 | ?X: | |
19 | ?X: This unit was originally a part of Options.U. It had to be removed from | |
20 | ?X: it to prevent a dependency cycle: Extract -> src -> Options -> Extract | |
21 | ?X: The Begin.U unit now requires us before beginning to do anything | |
22 | ?X: interesting, to ensure proper semantics. -- RAM, 15/03/96 | |
23 | ?X: | |
24 | ?MAKE:Extractall: Extract Options | |
25 | ?MAKE: -pick wipe $@ %< | |
26 | : extract files and exit if asked to do so | |
27 | case "$extractsh" in | |
28 | true) | |
29 | ?X: Undo the forced silent=true when -S was supplied, by probing realsilent | |
30 | ?X: which was set iff -s was also given. See Options.U for details. | |
31 | case "$realsilent" in | |
32 | true) ;; | |
33 | *) exec 1>&4;; | |
34 | esac | |
35 | case "$config_sh" in | |
36 | '') config_sh='config.sh';; | |
37 | esac | |
38 | echo " " | |
39 | echo "Fetching answers from $config_sh..." | |
40 | cd .. | |
41 | . $config_sh | |
42 | test "$override" && . ./optdef.sh | |
43 | echo " " | |
44 | ?X: extract has to be run from the top directory, not within UU. | |
45 | . UU/extract | |
46 | rm -rf UU | |
47 | echo "Extraction done." | |
48 | exit 0 | |
49 | ;; | |
50 | esac | |
51 |