root/tags/lgt2210/misc/cplgtdirs.sh

Revision 1460, 0.8 KB (checked in by pmoura, 4 years ago)

Updated release number to 2.21.0.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1#!/bin/sh
2
3## =================================================================
4## Logtalk - Object oriented extension to Prolog
5## Release 2.21.0
6##
7## Copyright (c) 1998-2004 Paulo Moura.  All Rights Reserved.
8## =================================================================
9
10echo
11echo "This script copies the Logtalk library, xml, and examples"
12echo "directories to the user home directory (~/logtalk)."
13echo
14
15if ! [ $LOGTALKHOME ]
16then
17    echo "The env variable LOGTALKHOME must be defined first!"
18else
19    mkdir -p $HOME/logtalk/examples
20    mkdir -p $HOME/logtalk/library
21    mkdir -p $HOME/logtalk/xml
22    cp -RL $LOGTALKHOME/examples $HOME/logtalk/
23    cp -RL $LOGTALKHOME/library $HOME/logtalk/
24    cp -RL $LOGTALKHOME/xml $HOME/logtalk/
25    echo "Finished copying Logtalk directories."
26    echo
27fi
Note: See TracBrowser for help on using the browser.