#!/bin/sh # Copyright (C) 2008-2009 John Reese, LeetCode.net # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. read LINE LINE=`echo $LINE | sed -e 's/ /+/g'` URL="http://git.tritarget.org/mantisbt/plugin.php?page=Source/checkin" PROJECT="test" CURL=/usr/bin/curl echo "Updating Changeset to Mantis Bug Tracker" ${CURL} -s -S -d "repo_name=${PROJECT}" -d "data=${LINE}" ${URL}