Ticket #12621: trac_12621-prereq.patch

File trac_12621-prereq.patch, 1.2 KB (added by jhpalmieri, 9 years ago)
  • spkg/base/bzip2-1.0.5-install

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1330727931 28800
    # Node ID 0146e87ea0cb7bbce3d4c5dec9a434f695b6c824
    # Parent  71c5bc83e24f49633db02294fac8adc906dc68f9
    Use bash to run prereq-0.9-install and bzip2-1.0.5-install.
    
    diff --git a/spkg/base/bzip2-1.0.5-install b/spkg/base/bzip2-1.0.5-install
    a b  
    1 #!/bin/sh
     1#!/usr/bin/env bash
    22###########################################
    33## Bzip2
    44###########################################
    55
    66CUR="`pwd`"
    7 if [ ! -n "$SAGE_BUILD_DIR" ]; then
     7if [ -z "$SAGE_BUILD_DIR" ]; then
    88    SAGE_BUILD_DIR="$SAGE_ROOT/spkg/build"
    99fi
    1010# This directory should already exist: it should have been created by
  • spkg/base/prereq-0.9-install

    diff --git a/spkg/base/prereq-0.9-install b/spkg/base/prereq-0.9-install
    a b  
    1 #!/bin/sh
     1#!/usr/bin/env bash
    22###########################################
    33## Check for prerequisite programs
    44###########################################
    55
    66
    77TARGET=prereq-0.9
    8 if [ ! -n "$SAGE_BUILD_DIR" ]; then
     8if [ -z "$SAGE_BUILD_DIR" ]; then
    99    SAGE_BUILD_DIR="$SAGE_ROOT/spkg/build"
    1010fi
    1111mkdir -p "$SAGE_BUILD_DIR"