From c5a7d34788be62a5b8ac40fe183174afd4bd6ce5 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Fri, 9 Nov 2018 16:52:34 -0200 Subject: [PATCH] Atualizando modulo, remove script antigo. --- modules/lib3270 | 2 +- update.sh | 6 ++++++ updateChangeLog.sh | 55 ------------------------------------------------------- 3 files changed, 7 insertions(+), 56 deletions(-) create mode 100644 update.sh delete mode 100755 updateChangeLog.sh diff --git a/modules/lib3270 b/modules/lib3270 index 8927cb4..091ee61 160000 --- a/modules/lib3270 +++ b/modules/lib3270 @@ -1 +1 @@ -Subproject commit 8927cb432f046fac5c64dfcf1a456584800ef084 +Subproject commit 091ee6153ea7321718997b9792ede0797615633e diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..0b24592 --- /dev/null +++ b/update.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +git fetch origin + +git submodule update --remote --recursive + diff --git a/updateChangeLog.sh b/updateChangeLog.sh deleted file mode 100755 index 12a23af..0000000 --- a/updateChangeLog.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash -# -# "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270 -# (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a -# aplicativos mainframe. Registro no INPI sob o nome G3270. -# -# Copyright (C) <2008> -# -# Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob -# os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela -# Free Software Foundation. -# -# Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER -# GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO -# A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para -# obter mais detalhes. -# -# Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este -# programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple -# Place, Suite 330, Boston, MA, 02111-1307, USA -# -# Contatos: -# -# perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) -# erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça) -# licinio@bb.com.br (Licínio Luis Branco) -# kraucer@bb.com.br (Kraucer Fernandes Mazuco) -# - -touch ChangeLog - -REV_TO=${1:-"HEAD"} -REV_LAST=`head -3 ChangeLog | tr -d '\r\n' | sed -e 's/.*svn\([0-9]*\).*/\1/'` - -svn update - -REV_MAX=`svn --xml info | tr -d '\r\n' | sed -e 's/.*.*/\1/'` - -REV_FROM=${2:-$(($REV_LAST + 1))} - -if [ $REV_FROM -gt $REV_MAX ]; then - echo "No update required from revision $REV_FROM to revision $REV_MAX" - exit 0; -fi - -echo "Downloading svn-log from revision $REV_FROM to revision $REV_MAX" - -svn --verbose --xml log -r "$REV_TO:$REV_FROM" | xsltproc --stringparam strip-prefix "trunk" --stringparam linelen "75" --stringparam groupbyday "no" --stringparam separate-daylogs "no" --stringparam include-rev "yes" --stringparam breakbeforemsg "no" --stringparam reparagraph "no" --stringparam authorsfile "" --stringparam title "ChangeLog" --stringparam revision-link "#r" --stringparam ignore-message-starting "" --nowrite --nomkdir --nonet "ChangeLog.xsl" - > "ChangeLog.new" -if [ "$?" != "0" ]; then - exit -1 -fi - -cat "ChangeLog" >> "ChangeLog.new" - -mv "ChangeLog.new" "ChangeLog" -- libgit2 0.21.2