Changeset 79:e35e539c5c9c in xplra for mkplugindist.sh


Ignore:
Timestamp:
04/14/13 12:02:07 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 3 'hg:/home/ivaradi/xplane/hg/xplra' '/'>, 'public')
Message:

Added script to create all distributable files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mkplugindist.sh

    r62 r79  
    55# Script to create the plugin distribution from an already built set of sources.
    66#
    7 # Usage: mkplugindist.sh <build directory>
     7# Usage: mkplugindist.sh <build directory> [<destination directory>]
    88#
    99# <build directory> is the directory containing the build directories as
     
    1414
    1515if test $# -lt 1; then
    16     echo "Usage: mkplugindist.sh <build directory>"
     16    echo "Usage: mkplugindist.sh <build directory> [<destination directory>]"
    1717    exit 1
    1818fi
    1919
    20 zipfile="${scriptdir}/xplra.zip"
     20destdir="${2:-}"
     21if test -z "${destdir}"; then
     22    destdir=`pwd`
     23fi
     24
     25zipfile="${destdir}/xplra.zip"
    2126builddir="${1}"
    2227
Note: See TracChangeset for help on using the changeset viewer.