Changeset 9134d28


Ignore:
Timestamp:
May 23, 2015 6:48:35 PM (5 years ago)
Author:
dev <dev@…>
Branches:
master
Children:
583a050
Parents:
68adfa80
Message:

Don't unpack gmp before every build. Do a distclean instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/c/jbigi/mbuild-all.sh

    r68adfa80 r9134d28  
    254254        sleep 10
    255255        # Nonfatal bail out on unsupported platform.
     256        (cd ../../gmp-${1}; make distclean)
    256257        if [ $(echo $TARGET| grep -q osx) ]; then
    257258                ../../gmp-${1}/configure --build=${2}-apple-darwin --with-pic && return 0
     
    273274}
    274275
    275 echo "Extracting GMP Version $VER ..."
    276 if [ -e gmp-$VER.tar.bz2 ]; then
     276if [ ! -d gmp-$VER ]; then
     277  echo "Extracting GMP Version $VER ..."
     278  if [ -e gmp-$VER.tar.bz2 ]; then
    277279    tar -xjf gmp-$VER.tar.bz2 || ( echo "Error in tarball file!" >&2 ; exit 1 )
    278 else
     280  else
    279281    echo "ERROR: gmp tarball not found in current directory" >&2
    280282    exit 1
     283  fi
    281284fi
    282285
Note: See TracChangeset for help on using the changeset viewer.