Ticket #12621: trac_12621-prereq.v2.patch

File trac_12621-prereq.v2.patch, 654 bytes (added by jhpalmieri, 9 years ago)
  • spkg/base/prereq-0.9-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.
    
    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"