Changeset 4046 for trunk/scripts

Show
Ignore:
Timestamp:
01/23/08 11:32:22 (12 months ago)
Author:
pmoura
Message:

Added a "VERSION.txt" file that will be used to check compatibility between an existing LOGTALKUSER folder and a new Logtalk version.

Location:
trunk/scripts
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/scripts/cplgtdirs.js

    r4036 r4046  
    8686FSObject.CopyFolder(logtalk_home + "\\library", logtalk_user + "\\library"); 
    8787FSObject.CopyFolder(logtalk_home + "\\xml", logtalk_user + "\\xml"); 
     88FSObject.CopyFile(logtalk_home + "\\VERSION.txt", logtalk_user + "\\VERSION.txt"); 
    8889 
    8990FSObject.DeleteFile(logtalk_user + "\\xml\\lgt2*.*"); 
  • trunk/scripts/cplgtdirs.sh

    r4036 r4046  
    7676cp -RL "$LOGTALKHOME"/library "$LOGTALKUSER"/ 
    7777cp -RL "$LOGTALKHOME"/xml "$LOGTALKUSER"/ 
     78cp  "$LOGTALKHOME"/VERSION.txt "$LOGTALKUSER"/ 
    7879chmod -R u+w "$LOGTALKUSER" 
    7980rm -f "$LOGTALKUSER"/xml/lgt2*