root/trunk/rpmsrc/mkspec.sh
| Revision 604, 192 bytes (checked in by andrei, 4 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | #! /bin/bash |
| 2 | DATE=`date +%m%d%y` |
| 3 | |
| 4 | if test $# -lt 1; then |
| 5 | echo Version argument missing |
| 6 | exit 1 |
| 7 | fi |
| 8 | |
| 9 | echo "s/@DATE/$DATE/;s/@DISASM/$DISASM/;\ |
| 10 | s/@VERSION/$1/" | \ |
| 11 | sed --file - spec.template |
Note: See TracBrowser for help on using the browser.
