Changeset 237
- Timestamp:
- 06/28/07 08:13:18 (1 year ago)
- Files:
-
- trunk/scripts/pkg_win (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/scripts/pkg_win
r222 r237 9 9 # scripts/pkg_win <name of of release, e.g. angband-3.4.6> 10 10 # 11 mkdir $1 12 cd $1 11 DIR=$1 12 13 function cp_unix2dos { 14 # Just in case they're already DOS_format, we strip them to UNIX first. :) 15 awk '{ sub("\r$", ""); sub("$", "\r"); print }' $1 > $2 16 } 17 18 19 mkdir $DIR 20 cd $DIR 13 21 14 22 mkdir lib … … 33 41 34 42 cp ../*.exe . 35 cp ../changes.txt ../thanks.txt ../copying.txt ../readme.txt . 43 44 # Copy the readmes and suchlike, converting to DOS line endings on the way 45 cp_unix2dos ../changes.txt ./changes.txt 46 cp_unix2dos ../thanks.txt ./thanks.txt 47 cp_unix2dos ../copying.txt ./copying.txt 48 cp_unix2dos ../readme.txt ./readme.txt 36 49 37 50 cp ../lib/edit/*.txt lib/edit
