From 6f6caa9aeba18fb957bf692b46beaedbe05b43d5 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Thu, 26 Sep 2013 19:23:25 +0000 Subject: [PATCH] Corrigindo erro no empacotamento windows --- makegtkruntime.sh.in | 19 ++++++++++++++----- po/pt_BR.po | 2 +- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/makegtkruntime.sh.in b/makegtkruntime.sh.in index 57db724..c646e81 100644 --- a/makegtkruntime.sh.in +++ b/makegtkruntime.sh.in @@ -13,15 +13,24 @@ copyFiles() { while read FILE do - FILEPATH=$(find "$GTK_PREFIX/bin" -name "$FILE") + GTKPATH=$(find "$GTK_PREFIX/bin" -name "$FILE") + SYSPATH=$(find "/bin" -name "$FILE") - if [ ! -z $FILEPATH ]; then - echo "$FILEPATH ..." - cp $FILEPATH "$TARGET_PATH" + if [ ! -z "$GTKPATH" ]; then + echo "$GTKPATH ..." + cp $GTKPATH "$TARGET_PATH" if [ "$?" != "0" ]; then - echo "Can´t copy $FILEPATH" + echo "Can´t copy $GTKPATH" exit -1 fi + elif [ ! -z "$SYSPATH" ]; then + echo "$SYSPATH ..." + cp $SYSPATH "$TARGET_PATH" + if [ "$?" != "0" ]; then + echo "Can´t copy $SYSPATH" + exit -1 + fi + else echo "Can´t find $FILE" fi diff --git a/po/pt_BR.po b/po/pt_BR.po index 978e51b..d5ec07f 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: pw3270 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-09-25 11:31-0300\n" +"POT-Creation-Date: 2013-09-26 16:18-0300\n" "PO-Revision-Date: 2013-08-28 08:42-0300\n" "Last-Translator: Perry Werneck \n" "Language-Team: Português \n" -- libgit2 0.21.2