Commit 76e9c33cdb7cd59787adadd0caf19b6c37190982

Authored by Perry Werneck
1 parent 1dd4f59d
Exists in master

Ajustes para empacotamento windows.

Showing 2 changed files with 30 additions and 16 deletions   Show diff stats
win/pack.sh 0 → 100755
... ... @@ -0,0 +1,30 @@
  1 +#!/bin/bash
  2 +
  3 +myDIR=$(dirname $(dirname $(readlink -f $0)))
  4 +
  5 +cd $myDIR
  6 +
  7 +rm -f *.zip
  8 +
  9 +win32-configure && make clean && make zip
  10 +if [ "$?" != "0" ]; then
  11 + exit -1
  12 +fi
  13 +
  14 +win64-configure && make clean && make zip
  15 +if [ "$?" != "0" ]; then
  16 + exit -1
  17 +fi
  18 +
  19 +if [ -d ~/public_html/win/pw3270/x86_32 ]; then
  20 + cp *i686*.zip ~/public_html/win/pw3270/x86_32
  21 +elif [ -d ~/public_html/win/x86_32 ]; then
  22 + cp *i686*.zip ~/public_html/win/x86_32
  23 +fi
  24 +
  25 +if [ -d ~/public_html/win/pw3270/x86_64 ]; then
  26 + cp *x86_64*.zip ~/public_html/win/pw3270/x86_64
  27 +elif [ -d ~/public_html/win/x86_32 ]; then
  28 + cp *x86_64*.zip ~/public_html/win/x86_64
  29 +fi
  30 +
... ...
winpacket.sh
... ... @@ -1,16 +0,0 @@
1   -#!/bin/bash
2   -
3   -rm -f *.zip
4   -
5   -win32-configure && make clean && make zip
6   -
7   -win64-configure && make clean && make zip
8   -
9   -if [ -d ~/public_html/win/x86_32 ]; then
10   - cp *i686*.zip ~/public_html/win/x86_32
11   -fi
12   -
13   -if [ -d ~/public_html/win/x86_64 ]; then
14   - cp *.x86_64*.zip ~/public_html/win/x86_64
15   -fi
16   -