summaryrefslogtreecommitdiffstats
path: root/src/main/distrib/linux/migrate-tickets.sh
blob: 4f360918123aa79e48af1a08560925b31dca9516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# --------------------------------------------------------------------------
# This is for migrating Tickets from one service to another.
#
# usage:
#
#     migrate-tickets.sh <outputservice> <baseFolder>
#
# --------------------------------------------------------------------------

if [ -z $1 ] || [ -z $2 ]; then
    echo "Please specify the output ticket service and your baseFolder!";
    echo "";
    echo "usage:";
    echo "    migrate-tickets <outputservice> <baseFolder>";
    echo "";
    exit 1;
fi

java -cp "gitblit.jar:ext/*" com.gitblit.MigrateTickets $1 --baseFolder $2