source: buchla-emu/pack.sh@ 3153af3

0.1
Last change on this file since 3153af3 was 3153af3, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Added packaging script.

  • Property mode set to 100755
File size: 381 bytes
Line 
1#!/bin/bash
2
3VER=0.1
4
5NAME=buchla-${VER}
6DIR=/tmp/${NAME}
7
8OS=$(uname)
9
10rm -rf ${DIR}
11mkdir ${DIR}
12
13function copy()
14{
15 if [ -e ${1} ]; then
16 cp ${1} ${DIR}
17 else
18 echo "missing ${1} file" >&2
19 exit 1
20 fi
21}
22
23copy buchla-os-x
24copy buchla-linux
25copy buchla-win.exe
26
27copy vera.ttf
28copy bios.abs
29copy midas.abs
30copy buchla.disk
31
32(cd /tmp; zip -r ${NAME}.zip ${NAME})
33mv ${DIR}.zip .
Note: See TracBrowser for help on using the repository browser.