43fb41ed97d7 — Gerald Klix (speedy) a month ago
SUM: Create Haver's package search path file in the right directory.
1 files changed, 7 insertions(+), 5 deletions(-)

M prepareBootstrap.sh
M prepareBootstrap.sh +7 -5
@@ 15,7 15,7 @@ if [ "#" = "#$1" ];
                         CORE_UPDATES_DIR="$CUIS_7_DIR/CoreUpdates"
                         if [ -d $CORE_UPDATES_DIR ];
                             then
-                                echo "Core Updates OK\t\t($CORE_UPDATES_DIR)"
+                                echo "Core Updates   OK ($CORE_UPDATES_DIR)"
                             else
                                 echo "error: The core updates directory ($CORE_UPDATES_DIR) is not a directory'"
                                 exit 1

          
@@ 23,7 23,7 @@ if [ "#" = "#$1" ];
                         TRUE_TYPE_FONTS_DIR="$CUIS_7_DIR/TrueTypeFonts"
                         if [ -d $TRUE_TYPE_FONTS_DIR ];
                             then
-                                echo "TrueType Fonts OK\t($TRUE_TYPE_FONTS_DIR)"
+                                echo "TrueType Fonts OK ($TRUE_TYPE_FONTS_DIR)"
                             else
                                 echo "error: The true type fonts directory ($TRUE_TYPE_FONTS_DIR) is not a directory'"
                                 exit 1

          
@@ 31,9 31,11 @@ if [ "#" = "#$1" ];
                          ln -fs $CORE_UPDATES_DIR $PROJECT_DIR
                          ln -fs $TRUE_TYPE_FONTS_DIR $PROJECT_DIR
                          cp -a $CUIS_7_DIR/CuisImage/Cuis7.0.* .
-                         echo "/" > HaverPackageSearchPath.txt
-                         echo "$CUIS_7_DIR/Packages" >> HaverPackageSearchPath.txt
-                         echo "$CUIS_DIR/Cuis-Smalltalk-Dev/CompatibilityPackages" >> HaverPackageSearchPath.txt
+                         USER_FILES_DIR=$PROJECT_DIR/Haver-UserFiles
+                         mkdir -p $USER_FILES_DIR
+                         echo ".." > $USER_FILES_DIR/HaverPackageSearchPath.txt
+                         echo "$CUIS_7_DIR/Packages" >> $USER_FILES_DIR/HaverPackageSearchPath.txt
+                         echo "$CUIS_DIR/Cuis-Smalltalk-Dev/CompatibilityPackages" >> $USER_FILES_DIR/HaverPackageSearchPath.txt
                     else
                         echo "error: The Cuis 7.0 directory ($CUIS_7_DIR) is not a directory'"
                         exit 1