*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Fri, 26 Oct 2001 14:23:28 +0200
changeset 473 74522496ce5d
parent 472 9b1c0e9838dd
child 474 e1fa9dcb1cf5
*** empty log message ***
smalltalk.rc
--- a/smalltalk.rc	Fri Oct 26 13:15:50 2001 +0200
+++ b/smalltalk.rc	Fri Oct 26 14:23:28 2001 +0200
@@ -545,26 +545,28 @@
 "/ (since all autoload-stuff will already be initialized)
 "/
 
-"/ 'st.img' asFilename exists ifFalse:[
-"/     |doneWithStartupStuff|
-"/ 
-"/     doneWithStartupStuff := Semaphore new.
-"/ 
-"/     Smalltalk addStartBlock:[
-"/      [
-"/          doneWithStartupStuff wait.
-"/             'smalltalk.rc [info]: saving initial image for faster future startup ...' infoPrintCR.
-"/             ObjectMemory primSnapShotOn:'st.img'
-"/      ] forkAt:1
-"/     ].
-"/ 
-"/     Smalltalk addStartBlock:[
-"/      [
-"/          Delay waitForSeconds:10.
-"/          doneWithStartupStuff signal
-"/      ] forkAt:1
-"/     ].
-"/ ].
+ 'st.img' asFilename exists ifFalse:[
+   '.' asFilename isWritable ifTrue:[
+     |doneWithStartupStuff|
+ 
+     doneWithStartupStuff := Semaphore new.
+ 
+     Smalltalk addStartBlock:[
+      [
+	  doneWithStartupStuff wait.
+	     'smalltalk.rc [info]: saving initial image for faster future startup ...' infoPrintCR.
+	     ObjectMemory primSnapShotOn:'st.img'
+      ] forkAt:1
+     ].
+ 
+     Smalltalk addStartBlock:[
+      [
+	  Delay waitForSeconds:10.
+	  doneWithStartupStuff signal
+      ] forkAt:1
+     ].
+   ]
+ ].
 !
 
 Smalltalk fileIn:'hideBanner.rc'.