-
Notifications
You must be signed in to change notification settings - Fork 3
/
filesystem.csh.in
403 lines (380 loc) · 14.5 KB
/
filesystem.csh.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# This file must be sourced inside csh using: source
#
# @configure_input@
#
# Sets up the GNUstep filesystem paths for shell scripts
#
# Copyright (C) 2007 Free Software Foundation, Inc.
#
# Author: Nicola Pero <[email protected]>,
#
# Date: February 2007
#
# This file is part of the GNUstep Makefile Package.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# You should have received a copy of the GNU General Public
# License along with this library; see the file COPYING.
# If not, write to the Free Software Foundation,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# This does the same as filesystem.sh, but for csh.
#
# IMPORTANT: tcsh v6.12 has a maximum variable size of 30 characters.
# So all variables should have names that are below that size.
#
# Location of Users directories ... never used by gnustep-make.
#
if ( ! ${?GNUSTEP_SYSTEM_USERS_DIR} ) then
setenv GNUSTEP_SYSTEM_USERS_DIR "@GNUSTEP_SYSTEM_USERS_DIR@"
endif
if ( ! ${?GNUSTEP_NETWORK_USERS_DIR} ) then
setenv GNUSTEP_NETWORK_USERS_DIR "@GNUSTEP_NETWORK_USERS_DIR@"
endif
if ( ! ${?GNUSTEP_LOCAL_USERS_DIR} ) then
setenv GNUSTEP_LOCAL_USERS_DIR "@GNUSTEP_LOCAL_USERS_DIR@"
endif
#
# SYSTEM domain
#
if ( ! ${?GNUSTEP_SYSTEM_APPS} ) then
setenv GNUSTEP_SYSTEM_APPS "@GNUSTEP_SYSTEM_APPS@"
endif
if ( ! ${?GNUSTEP_SYSTEM_ADMIN_APPS} ) then
setenv GNUSTEP_SYSTEM_ADMIN_APPS "@GNUSTEP_SYSTEM_ADMIN_APPS@"
endif
if ( ! ${?GNUSTEP_SYSTEM_WEB_APPS} ) then
setenv GNUSTEP_SYSTEM_WEB_APPS "@GNUSTEP_SYSTEM_WEB_APPS@"
endif
if ( ! ${?GNUSTEP_SYSTEM_TOOLS} ) then
setenv GNUSTEP_SYSTEM_TOOLS "@GNUSTEP_SYSTEM_TOOLS@"
endif
if ( ! ${?GNUSTEP_SYSTEM_ADMIN_TOOLS} ) then
setenv GNUSTEP_SYSTEM_ADMIN_TOOLS "@GNUSTEP_SYSTEM_ADMIN_TOOLS@"
endif
if ( ! ${?GNUSTEP_SYSTEM_LIBRARY} ) then
setenv GNUSTEP_SYSTEM_LIBRARY "@GNUSTEP_SYSTEM_LIBRARY@"
endif
if ( ! ${?GNUSTEP_SYSTEM_HEADERS} ) then
setenv GNUSTEP_SYSTEM_HEADERS "@GNUSTEP_SYSTEM_HEADERS@"
endif
if ( ! ${?GNUSTEP_SYSTEM_LIBRARIES} ) then
setenv GNUSTEP_SYSTEM_LIBRARIES "@GNUSTEP_SYSTEM_LIBRARIES@"
endif
if ( ! ${?GNUSTEP_SYSTEM_DOC} ) then
setenv GNUSTEP_SYSTEM_DOC "@GNUSTEP_SYSTEM_DOC@"
endif
if ( ! ${?GNUSTEP_SYSTEM_DOC_MAN} ) then
setenv GNUSTEP_SYSTEM_DOC_MAN "@GNUSTEP_SYSTEM_DOC_MAN@"
endif
if ( ! ${?GNUSTEP_SYSTEM_DOC_INFO} ) then
setenv GNUSTEP_SYSTEM_DOC_INFO "@GNUSTEP_SYSTEM_DOC_INFO@"
endif
#
# NETWORK domain
#
if ( ! ${?GNUSTEP_NETWORK_APPS} ) then
setenv GNUSTEP_NETWORK_APPS "@GNUSTEP_NETWORK_APPS@"
endif
if ( ! ${?GNUSTEP_NETWORK_ADMIN_APPS} ) then
setenv GNUSTEP_NETWORK_ADMIN_APPS "@GNUSTEP_NETWORK_ADMIN_APPS@"
endif
if ( ! ${?GNUSTEP_NETWORK_WEB_APPS} ) then
setenv GNUSTEP_NETWORK_WEB_APPS "@GNUSTEP_NETWORK_WEB_APPS@"
endif
if ( ! ${?GNUSTEP_NETWORK_TOOLS} ) then
setenv GNUSTEP_NETWORK_TOOLS "@GNUSTEP_NETWORK_TOOLS@"
endif
if ( ! ${?GNUSTEP_NETWORK_ADMIN_TOOLS} ) then
setenv GNUSTEP_NETWORK_ADMIN_TOOLS "@GNUSTEP_NETWORK_ADMIN_TOOLS@"
endif
if ( ! ${?GNUSTEP_NETWORK_LIBRARY} ) then
setenv GNUSTEP_NETWORK_LIBRARY "@GNUSTEP_NETWORK_LIBRARY@"
endif
if ( ! ${?GNUSTEP_NETWORK_HEADERS} ) then
setenv GNUSTEP_NETWORK_HEADERS "@GNUSTEP_NETWORK_HEADERS@"
endif
if ( ! ${?GNUSTEP_NETWORK_LIBRARIES} ) then
setenv GNUSTEP_NETWORK_LIBRARIES "@GNUSTEP_NETWORK_LIBRARIES@"
endif
if ( ! ${?GNUSTEP_NETWORK_DOC} ) then
setenv GNUSTEP_NETWORK_DOC "@GNUSTEP_NETWORK_DOC@"
endif
if ( ! ${?GNUSTEP_NETWORK_DOC_MAN} ) then
setenv GNUSTEP_NETWORK_DOC_MAN "@GNUSTEP_NETWORK_DOC_MAN@"
endif
if ( ! ${?GNUSTEP_NETWORK_DOC_INFO} ) then
setenv GNUSTEP_NETWORK_DOC_INFO "@GNUSTEP_NETWORK_DOC_INFO@"
endif
#
# LOCAL domain
#
if ( ! ${?GNUSTEP_LOCAL_APPS} ) then
setenv GNUSTEP_LOCAL_APPS "@GNUSTEP_LOCAL_APPS@"
endif
if ( ! ${?GNUSTEP_LOCAL_ADMIN_APPS} ) then
setenv GNUSTEP_LOCAL_ADMIN_APPS "@GNUSTEP_LOCAL_ADMIN_APPS@"
endif
if ( ! ${?GNUSTEP_LOCAL_WEB_APPS} ) then
setenv GNUSTEP_LOCAL_WEB_APPS "@GNUSTEP_LOCAL_WEB_APPS@"
endif
if ( ! ${?GNUSTEP_LOCAL_TOOLS} ) then
setenv GNUSTEP_LOCAL_TOOLS "@GNUSTEP_LOCAL_TOOLS@"
endif
if ( ! ${?GNUSTEP_LOCAL_ADMIN_TOOLS} ) then
setenv GNUSTEP_LOCAL_ADMIN_TOOLS "@GNUSTEP_LOCAL_ADMIN_TOOLS@"
endif
if ( ! ${?GNUSTEP_LOCAL_LIBRARY} ) then
setenv GNUSTEP_LOCAL_LIBRARY "@GNUSTEP_LOCAL_LIBRARY@"
endif
if ( ! ${?GNUSTEP_LOCAL_HEADERS} ) then
setenv GNUSTEP_LOCAL_HEADERS "@GNUSTEP_LOCAL_HEADERS@"
endif
if ( ! ${?GNUSTEP_LOCAL_LIBRARIES} ) then
setenv GNUSTEP_LOCAL_LIBRARIES "@GNUSTEP_LOCAL_LIBRARIES@"
endif
if ( ! ${?GNUSTEP_LOCAL_DOC} ) then
setenv GNUSTEP_LOCAL_DOC "@GNUSTEP_LOCAL_DOC@"
endif
if ( ! ${?GNUSTEP_LOCAL_DOC_MAN} ) then
setenv GNUSTEP_LOCAL_DOC_MAN "@GNUSTEP_LOCAL_DOC_MAN@"
endif
if ( ! ${?GNUSTEP_LOCAL_DOC_INFO} ) then
setenv GNUSTEP_LOCAL_DOC_INFO "@GNUSTEP_LOCAL_DOC_INFO@"
endif
#
# USER domain
#
if ( ! ${?GNUSTEP_USER_DIR_APPS} ) then
setenv GNUSTEP_USER_DIR_APPS "@GNUSTEP_USER_DIR_APPS@"
endif
if ( ! ${?GNUSTEP_USER_DIR_ADMIN_APPS} ) then
setenv GNUSTEP_USER_DIR_ADMIN_APPS "@GNUSTEP_USER_DIR_ADMIN_APPS@"
endif
if ( ! ${?GNUSTEP_USER_DIR_WEB_APPS} ) then
setenv GNUSTEP_USER_DIR_WEB_APPS "@GNUSTEP_USER_DIR_WEB_APPS@"
endif
if ( ! ${?GNUSTEP_USER_DIR_TOOLS} ) then
setenv GNUSTEP_USER_DIR_TOOLS "@GNUSTEP_USER_DIR_TOOLS@"
endif
if ( ! ${?GNUSTEP_USER_DIR_ADMIN_TOOLS} ) then
setenv GNUSTEP_USER_DIR_ADMIN_TOOLS "@GNUSTEP_USER_DIR_ADMIN_TOOLS@"
endif
if ( ! ${?GNUSTEP_USER_DIR_LIBRARY} ) then
setenv GNUSTEP_USER_DIR_LIBRARY "@GNUSTEP_USER_DIR_LIBRARY@"
endif
if ( ! ${?GNUSTEP_USER_DIR_HEADERS} ) then
setenv GNUSTEP_USER_DIR_HEADERS "@GNUSTEP_USER_DIR_HEADERS@"
endif
if ( ! ${?GNUSTEP_USER_DIR_LIBRARIES} ) then
setenv GNUSTEP_USER_DIR_LIBRARIES "@GNUSTEP_USER_DIR_LIBRARIES@"
endif
if ( ! ${?GNUSTEP_USER_DIR_DOC} ) then
setenv GNUSTEP_USER_DIR_DOC "@GNUSTEP_USER_DIR_DOC@"
endif
if ( ! ${?GNUSTEP_USER_DIR_DOC_MAN} ) then
setenv GNUSTEP_USER_DIR_DOC_MAN "@GNUSTEP_USER_DIR_DOC_MAN@"
endif
if ( ! ${?GNUSTEP_USER_DIR_DOC_INFO} ) then
setenv GNUSTEP_USER_DIR_DOC_INFO "@GNUSTEP_USER_DIR_DOC_INFO@"
endif
#
# Now, for all the GNUSTEP_USER_DIR_xxx variables above, replace:
#
# %i with the userid
# %u with the username
# %% with %
#
# This allows you to, for example, specify the GNUSTEP_USER_TOOLS
# should be /GNUstep/Users/%u/bin/, and that would mean
# /GNUstep/Users/nicola/bin for user 'nicola' and
# /GNUstep/Users/richard/bin for user 'richard'.
#
# Check if any of the strings contain %i ...
switch ("${GNUSTEP_USER_DIR_APPS}\
${GNUSTEP_USER_DIR_ADMIN_APPS}\
${GNUSTEP_USER_DIR_WEB_APPS}\
${GNUSTEP_USER_DIR_TOOLS}\
${GNUSTEP_USER_DIR_ADMIN_TOOLS}\
${GNUSTEP_USER_DIR_LIBRARY}\
${GNUSTEP_USER_DIR_HEADERS}\
${GNUSTEP_USER_DIR_LIBRARIES}\
${GNUSTEP_USER_DIR_DOC}\
${GNUSTEP_USER_DIR_DOC_MAN}\
${GNUSTEP_USER_DIR_DOC_INFO}")
case *%i*:
# ... and if so, do the replacement.
setenv GNUSTEP__USERID `id -u`
setenv GNUSTEP_USER_DIR_APPS `echo ${GNUSTEP_USER_DIR_APPS} | sed -e "s/%i/${GNUSTEP__USERID}/g"`
setenv GNUSTEP_USER_DIR_ADMIN_APPS `echo ${GNUSTEP_USER_DIR_ADMIN_APPS} | sed -e "s/%i/${GNUSTEP__USERID}/g"`
setenv GNUSTEP_USER_DIR_WEB_APPS `echo ${GNUSTEP_USER_DIR_WEB_APPS} | sed -e "s/%i/${GNUSTEP__USERID}/g"`
setenv GNUSTEP_USER_DIR_TOOLS `echo ${GNUSTEP_USER_DIR_TOOLS} | sed -e "s/%i/${GNUSTEP__USERID}/g"`
setenv GNUSTEP_USER_DIR_ADMIN_TOOLS `echo ${GNUSTEP_USER_DIR_ADMIN_TOOLS} | sed -e "s/%i/${GNUSTEP__USERID}/g"`
setenv GNUSTEP_USER_DIR_LIBRARY `echo ${GNUSTEP_USER_DIR_LIBRARY} | sed -e "s/%i/${GNUSTEP__USERID}/g"`
setenv GNUSTEP_USER_DIR_HEADERS `echo ${GNUSTEP_USER_DIR_HEADERS} | sed -e "s/%i/${GNUSTEP__USERID}/g"`
setenv GNUSTEP_USER_DIR_LIBRARIES `echo ${GNUSTEP_USER_DIR_LIBRARIES} | sed -e "s/%i/${GNUSTEP__USERID}/g"`
setenv GNUSTEP_USER_DIR_DOC `echo ${GNUSTEP_USER_DIR_DOC} | sed -e "s/%i/${GNUSTEP__USERID}/g"`
setenv GNUSTEP_USER_DIR_DOC_MAN `echo ${GNUSTEP_USER_DIR_DOC_MAN} | sed -e "s/%i/${GNUSTEP__USERID}/g"`
setenv GNUSTEP_USER_DIR_DOC_INFO `echo ${GNUSTEP_USER_DIR_DOC_INFO} | sed -e "s/%i/${GNUSTEP__USERID}/g"`
unsetenv GNUSTEP__USERID
breaksw
endsw
# Check if any of the strings contain %u ...
switch ("${GNUSTEP_USER_DIR_APPS}\
${GNUSTEP_USER_DIR_ADMIN_APPS}\
${GNUSTEP_USER_DIR_WEB_APPS}\
${GNUSTEP_USER_DIR_TOOLS}\
${GNUSTEP_USER_DIR_ADMIN_TOOLS}\
${GNUSTEP_USER_DIR_LIBRARY}\
${GNUSTEP_USER_DIR_HEADERS}\
${GNUSTEP_USER_DIR_LIBRARIES}\
${GNUSTEP_USER_DIR_DOC}\
${GNUSTEP_USER_DIR_DOC_MAN}\
${GNUSTEP_USER_DIR_DOC_INFO}")
case *%u*:
# ... and if so, do the replacement.
setenv GNUSTEP__USERNAME `id -u -n`
setenv GNUSTEP_USER_DIR_APPS `echo ${GNUSTEP_USER_DIR_APPS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"`
setenv GNUSTEP_USER_DIR_ADMIN_APPS `echo ${GNUSTEP_USER_DIR_ADMIN_APPS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"`
setenv GNUSTEP_USER_DIR_WEB_APPS `echo ${GNUSTEP_USER_DIR_WEB_APPS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"`
setenv GNUSTEP_USER_DIR_TOOLS `echo ${GNUSTEP_USER_DIR_TOOLS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"`
setenv GNUSTEP_USER_DIR_ADMIN_TOOLS `echo ${GNUSTEP_USER_DIR_ADMIN_TOOLS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"`
setenv GNUSTEP_USER_DIR_LIBRARY `echo ${GNUSTEP_USER_DIR_LIBRARY} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"`
setenv GNUSTEP_USER_DIR_HEADERS `echo ${GNUSTEP_USER_DIR_HEADERS} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"`
setenv GNUSTEP_USER_DIR_LIBRARIES `echo ${GNUSTEP_USER_DIR_LIBRARIES} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"`
setenv GNUSTEP_USER_DIR_DOC `echo ${GNUSTEP_USER_DIR_DOC} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"`
setenv GNUSTEP_USER_DIR_DOC_MAN `echo ${GNUSTEP_USER_DIR_DOC_MAN} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"`
setenv GNUSTEP_USER_DIR_DOC_INFO `echo ${GNUSTEP_USER_DIR_DOC_INFO} | sed -e "s/%u/${GNUSTEP__USERNAME}/g"`
unsetenv GNUSTEP__USERNAME
breaksw
endsw
# Check if any of the strings contain %% ...
switch ("${GNUSTEP_USER_DIR_APPS}\
${GNUSTEP_USER_DIR_ADMIN_APPS}\
${GNUSTEP_USER_DIR_WEB_APPS}\
${GNUSTEP_USER_DIR_TOOLS}\
${GNUSTEP_USER_DIR_ADMIN_TOOLS}\
${GNUSTEP_USER_DIR_LIBRARY}\
${GNUSTEP_USER_DIR_HEADERS}\
${GNUSTEP_USER_DIR_LIBRARIES}\
${GNUSTEP_USER_DIR_DOC}\
${GNUSTEP_USER_DIR_DOC_MAN}\
${GNUSTEP_USER_DIR_DOC_INFO}")
case *%%*:
# ... and if so, replace %% with %
setenv GNUSTEP_USER_DIR_APPS `echo ${GNUSTEP_USER_DIR_APPS} | sed -e 's/%%/%/g'`
setenv GNUSTEP_USER_DIR_ADMIN_APPS `echo ${GNUSTEP_USER_DIR_ADMIN_APPS} | sed -e 's/%%/%/g'`
setenv GNUSTEP_USER_DIR_WEB_APPS `echo ${GNUSTEP_USER_DIR_WEB_APPS} | sed -e 's/%%/%/g'`
setenv GNUSTEP_USER_DIR_TOOLS `echo ${GNUSTEP_USER_DIR_TOOLS} | sed -e 's/%%/%/g'`
setenv GNUSTEP_USER_DIR_ADMIN_TOOLS `echo ${GNUSTEP_USER_DIR_ADMIN_TOOLS} | sed -e 's/%%/%/g'`
setenv GNUSTEP_USER_DIR_LIBRARY `echo ${GNUSTEP_USER_DIR_LIBRARY} | sed -e 's/%%/%/g'`
setenv GNUSTEP_USER_DIR_HEADERS `echo ${GNUSTEP_USER_DIR_HEADERS} | sed -e 's/%%/%/g'`
setenv GNUSTEP_USER_DIR_LIBRARIES `echo ${GNUSTEP_USER_DIR_LIBRARIES} | sed -e 's/%%/%/g'`
setenv GNUSTEP_USER_DIR_DOC `echo ${GNUSTEP_USER_DIR_DOC} | sed -e 's/%%/%/g'`
setenv GNUSTEP_USER_DIR_DOC_MAN `echo ${GNUSTEP_USER_DIR_DOC_MAN} | sed -e 's/%%/%/g'`
setenv GNUSTEP_USER_DIR_DOC_INFO `echo ${GNUSTEP_USER_DIR_DOC_INFO} | sed -e 's/%%/%/g'`
breaksw
endsw
switch ("${GNUSTEP_USER_DIR_APPS}")
case /*: # An absolute path
setenv GNUSTEP_USER_APPS "${GNUSTEP_USER_DIR_APPS}"
breaksw
default: # Something else
setenv GNUSTEP_USER_APPS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_APPS}"
breaksw
endsw
switch ("${GNUSTEP_USER_DIR_ADMIN_APPS}")
case /*: # An absolute path
setenv GNUSTEP_USER_ADMIN_APPS "${GNUSTEP_USER_DIR_ADMIN_APPS}"
breaksw
default: # Something else
setenv GNUSTEP_USER_ADMIN_APPS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_ADMIN_APPS}"
breaksw
endsw
switch ("${GNUSTEP_USER_DIR_WEB_APPS}")
case /*: # An absolute path
setenv GNUSTEP_USER_WEB_APPS "${GNUSTEP_USER_DIR_WEB_APPS}"
breaksw
default: # Something else
setenv GNUSTEP_USER_WEB_APPS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_WEB_APPS}"
breaksw
endsw
switch ("${GNUSTEP_USER_DIR_TOOLS}")
case /*:
setenv GNUSTEP_USER_TOOLS "${GNUSTEP_USER_DIR_TOOLS}"
breaksw
default:
setenv GNUSTEP_USER_TOOLS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_TOOLS}"
breaksw
endsw
switch ("${GNUSTEP_USER_DIR_ADMIN_TOOLS}")
case /*:
setenv GNUSTEP_USER_ADMIN_TOOLS "${GNUSTEP_USER_DIR_ADMIN_TOOLS}"
breaksw
default:
setenv GNUSTEP_USER_ADMIN_TOOLS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_ADMIN_TOOLS}"
breaksw
endsw
switch ("${GNUSTEP_USER_DIR_LIBRARY}")
case /*:
setenv GNUSTEP_USER_LIBRARY "${GNUSTEP_USER_DIR_LIBRARY}"
breaksw
default:
setenv GNUSTEP_USER_LIBRARY "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_LIBRARY}"
breaksw
endsw
switch ("${GNUSTEP_USER_DIR_HEADERS}")
case /*:
setenv GNUSTEP_USER_HEADERS "${GNUSTEP_USER_DIR_HEADERS}"
breaksw
default:
setenv GNUSTEP_USER_HEADERS "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_HEADERS}"
breaksw
endsw
switch ("${GNUSTEP_USER_DIR_LIBRARIES}")
case /*:
setenv GNUSTEP_USER_LIBRARIES "${GNUSTEP_USER_DIR_LIBRARIES}"
breaksw
default:
setenv GNUSTEP_USER_LIBRARIES "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_LIBRARIES}"
breaksw
endsw
switch ("${GNUSTEP_USER_DIR_DOC}")
case /*:
setenv GNUSTEP_USER_DOC "${GNUSTEP_USER_DIR_DOC}"
breaksw
default:
setenv GNUSTEP_USER_DOC "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_DOC}"
breaksw
endsw
switch ("${GNUSTEP_USER_DIR_DOC_MAN}")
case /*:
setenv GNUSTEP_USER_DOC_MAN "${GNUSTEP_USER_DIR_DOC_MAN}"
breaksw
default:
setenv GNUSTEP_USER_DOC_MAN "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_DOC_MAN}"
breaksw
endsw
switch ("${GNUSTEP_USER_DIR_DOC_INFO}")
case /*:
setenv GNUSTEP_USER_DOC_INFO "${GNUSTEP_USER_DIR_DOC_INFO}"
breaksw
default:
setenv GNUSTEP_USER_DOC_INFO "${GNUSTEP_HOME}/${GNUSTEP_USER_DIR_DOC_INFO}"
breaksw
endsw
unsetenv GNUSTEP_USER_DIR_APPS
unsetenv GNUSTEP_USER_DIR_ADMIN_APPS
unsetenv GNUSTEP_USER_DIR_WEB_APPS
unsetenv GNUSTEP_USER_DIR_TOOLS
unsetenv GNUSTEP_USER_DIR_ADMIN_TOOLS
unsetenv GNUSTEP_USER_DIR_LIBRARY
unsetenv GNUSTEP_USER_DIR_HEADERS
unsetenv GNUSTEP_USER_DIR_LIBRARIES
unsetenv GNUSTEP_USER_DIR_DOC
unsetenv GNUSTEP_USER_DIR_DOC_MAN
unsetenv GNUSTEP_USER_DIR_DOC_INFO