Overview
Comment:Added -p (preserve) switch to cp in tidy mode.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: ff434a775d8c2ba7c7880299b32e9011629eba105934f8dcf1d0d1b497fb3dbf
User & Date: gawthrop@users.sourceforge.net on 1998-02-24 22:35:33
Other Links: branch diff | manifest | tags
Context
1998-02-25
15:03:51
Initial revision check-in: fd97c8d527 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-02-24
22:35:33
Added -p (preserve) switch to cp in tidy mode. check-in: ff434a775d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
22:33:23
new state reresentation included check-in: 3dd16135d0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [5704580e88] to [d07e240d27].

10
11
12
13
14
15
16



17
18
19
20
21
22
23
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26







+
+
+







# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.132  1998/02/24 22:33:23  peterg
## new state reresentation included
##
## Revision 1.131  1998/02/23 16:21:21  peterg
## Just do model name in summary line of lbl file
##
## Revision 1.130  1998/02/19 13:40:24  peterg
## Removed prerequisit from sspar.r target.
##
## Revision 1.129  1998/02/12 08:18:42  peterg
841
842
843
844
845
846
847
848

849
850
851
852
853
854
855
856
857
858
859
860
861

862
863
864
865
866
867
868
844
845
846
847
848
849
850

851
852
853
854
855
856
857
858
859
860
861
862
863

864
865
866
867
868
869
870
871







-
+












-
+







		exit  ;;
  esac
fi

# Tidy mode - operate in the directory MTT-work
if [ "$tidy" = "tidy" ]; then
   mkdir -p MTT_work
   cp -u  *.* MTT_work 2>/dev/null
   cp -u -p  *.* MTT_work 2>/dev/null
   cd MTT_work
   
   if [ -z "$directory" ]; then
     Directory=''
   else
     Directory=$directory/MTT_work
   fi

     mtt -u -q  $mtt_switches -S "$Directory"  $1 $2 $3 $4

   if [ "$3" != "view" ]; then
     # echo Copying " " $1_$2.$3
     cp -u $1_$2.$3 ..
     cp -u -p $1_$2.$3 ..
   fi

   # Remove the MTT_work directory if very tidy
   if [ "$verytidy" = "verytidy" ]; then
    echo Removing all working files
    rm -rf ../MTT_work
  fi


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]