Changeset 2115
- Timestamp:
- 04/26/07 16:50:06 (2 years ago)
- Files:
-
- trunk/install/dmd-posix/mkinstaller.sh (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/install/dmd-posix/mkinstaller.sh
r2060 r2115 1 #!/bin/bash -x1 #!/bin/bash 2 2 # Copyright (C) 2007 Gregor Richards 3 3 # Permission is granted to do anything you please with this software. … … 24 24 elif [ -e version.txt ] 25 25 then 26 TANGO_VERSION="`cat version.txt`" 26 TANGO_VERSION="`cat version.txt`" 27 DMD_VERSION="`cat dmdversion.txt`" 27 28 fi 28 29 … … 64 65 cp ../install/dmd-posix/uninstall.sh bin/uninstall-tango-core || die 1 "Failed to install the uninstaller" 65 66 67 # Clear old import files 68 rm -rf import/tango import/std 69 66 70 mkdir -p import 67 71 cp -pR ../tango import || die 1 "Failed to copy in the tango .d files" 72 cp -pR ../std import || die 1 "Failed to copy in the std .d files" 68 73 69 74 mkdir -p lib … … 78 83 # 3) Make the installer proper 79 84 ( 80 echo -e '#!/bin/bash \nINST_DMD=0' ;85 echo -e '#!/bin/bash -x\nINST_DMD=0' ; 81 86 cat install/dmd-posix/installer.sh ; 82 87 tar cf - core.tar.gz tango.tar.gz 83 ) > tango-$TANGO_VERSION-dmd -posix.sh || die 1 "Failed to create the installer"84 chmod 0755 tango-$TANGO_VERSION-dmd -posix.sh88 ) > tango-$TANGO_VERSION-dmd.$DMD_VERSION-posix.sh || die 1 "Failed to create the installer" 89 chmod 0755 tango-$TANGO_VERSION-dmd.$DMD_VERSION-posix.sh 85 90 86 91 # 4) DMD … … 99 104 cat install/dmd-posix/installer.sh ; 100 105 tar cf - core.tar.gz tango.tar.gz dmd.tar.gz 101 ) > tango-$TANGO_VERSION-dmd -posix-withDMD.sh || die 1 "Failed to create the installer with DMD"102 chmod 0755 tango-$TANGO_VERSION-dmd -posix-withDMD.sh106 ) > tango-$TANGO_VERSION-dmd.$DMD_VERSION-posix-withDMD.sh || die 1 "Failed to create the installer with DMD" 107 chmod 0755 tango-$TANGO_VERSION-dmd.$DMD_VERSION-posix-withDMD.sh 103 108 fi 104 109












