Statistics
| Branch: | Revision:

root / src / utils / install-prog @ master

History | View | Annotate | Download (223 Bytes)

1
#!/bin/sh
2
if test ! -n "$2"; then
3
    echo "usage: $0 prog-name dest-dir"
4
    exit 1
5
fi
6

    
7
prog=$1
8
dest_dir=$2
9

    
10
#if uname | grep "CYGWIN" >/dev/null; then
11
if [ -f $prog.exe ]; then
12
    prog="$prog.exe"
13
fi
14

    
15
cp $prog $dest_dir