279 actionTextHolder value:msg. |
279 actionTextHolder value:msg. |
280 |
280 |
281 ((fileName includes:$*) not |
281 ((fileName includes:$*) not |
282 and:[('../../' , fileName) asFilename exists not]) ifTrue:[ |
282 and:[('../../' , fileName) asFilename exists not]) ifTrue:[ |
283 (self listOfOptionalPackages includes:fileName) ifFalse:[ |
283 (self listOfOptionalPackages includes:fileName) ifFalse:[ |
284 commandTraceView showCR:('cannot copy ' , fileName , ' - not included in distribution') |
284 commandTraceView showCR:('cannot copy ' , fileName , ' - not included in distribution'). |
|
285 commandTraceView endEntry. |
285 ] |
286 ] |
286 ] ifFalse:[ |
287 ] ifFalse:[ |
287 cmd := 'cp -r ../../' , fileName , ' ' , destDir. |
288 cmd := 'cp -r ../../' , fileName , ' ' , destDir. |
288 commandTraceView showCR:cmd , ' ...'. |
289 commandTraceView showCR:cmd , ' ...'. |
|
290 commandTraceView endEntry. |
289 cmd := cmd , ' 2>&1' . |
291 cmd := cmd , ' 2>&1' . |
290 |
292 |
291 doneSemaphore := Semaphore new. |
293 doneSemaphore := Semaphore new. |
292 |
294 |
293 [ |
295 [ |
299 [p atEnd] whileFalse:[ |
301 [p atEnd] whileFalse:[ |
300 (p readWaitWithTimeout:0.1) ifFalse:[ |
302 (p readWaitWithTimeout:0.1) ifFalse:[ |
301 line := p nextLine. |
303 line := p nextLine. |
302 (line notNil and:[line notEmpty]) ifTrue:[ |
304 (line notNil and:[line notEmpty]) ifTrue:[ |
303 commandTraceView showCR:((' ' , line) asText emphasizeAllWith:(#color->Color red)). |
305 commandTraceView showCR:((' ' , line) asText emphasizeAllWith:(#color->Color red)). |
|
306 commandTraceView endEntry. |
304 ] |
307 ] |
305 ] |
308 ] |
306 ]. |
309 ]. |
307 p close. |
310 p close. |
308 ]. |
311 ]. |
378 nDone := nDone + 1. |
382 nDone := nDone + 1. |
379 ]. |
383 ]. |
380 ^ true |
384 ^ true |
381 |
385 |
382 "Created: 17.7.1996 / 15:24:19 / cg" |
386 "Created: 17.7.1996 / 15:24:19 / cg" |
383 "Modified: 18.7.1996 / 22:18:38 / cg" |
387 "Modified: 22.5.1997 / 15:06:41 / cg" |
384 ! |
388 ! |
385 |
389 |
386 createSymbolicLinks |
390 createSymbolicLinks |
387 |msg dirsToMake numDirs nDone| |
391 |msg dirsToMake numDirs nDone| |
388 |
392 |
389 msg := (resources array:#('ST/X Installation' '' 'creating symbolic links' '' '' '')) asStringCollection. |
393 msg := (resources array:#('ST/X Installation' '' 'creating symbolic links' '' '' '')) asStringCollection. |
390 |
394 |
391 commandTraceView showCR:(resources string:'setting up symbolic links in doc/online ...'). |
395 commandTraceView showCR:(resources string:'setting up symbolic links in doc/online ...'). |
|
396 commandTraceView endEntry. |
392 OperatingSystem executeCommand:('(cd ' , stxLibDir , '/doc/online ; make links)'). |
397 OperatingSystem executeCommand:('(cd ' , stxLibDir , '/doc/online ; make links)'). |
393 ^ true |
398 ^ true |
394 |
399 |
395 "Created: 17.7.1996 / 15:24:19 / cg" |
400 "Created: 17.7.1996 / 15:24:19 / cg" |
396 "Modified: 18.7.1996 / 22:18:38 / cg" |
401 "Modified: 22.5.1997 / 15:06:48 / cg" |
397 ! |
402 ! |
398 |
403 |
399 outputInitialMessage |
404 outputInitialMessage |
400 #( |
405 #( |
401 'Notice:' |
406 'Notice:' |