Changeset df555731


Ignore:
Timestamp:
Sep 20, 2013 10:17:48 PM (7 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
683ce32
Parents:
641fc0c
Message:

minor script changes

  • mbuild.sh: don't require bash
  • Slackware/i2p/doinst.sh: add bash shebang
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Slackware/i2p/doinst.sh

    r641fc0c rdf555731  
    1 #!/bin/sh
     1#!/bin/bash
    22
    33INST_DIR=directory
  • core/c/mbuild.sh

    r641fc0c rdf555731  
    1 #!/usr/bin/env bash
     1#!/bin/sh -e
    22# Automatic build of so files, ignores failed builds.
    33# Place latest gmp tarball in the jbigi dir, and exec this script.
    4 
    5 if [ -z "$BASH_VERSION" ]; then
    6         echo "This script needs to be run with Bash."
    7         echo
    8         echo "Please install bash and then run this script with"
    9         echo "bash $0"
    10         exit 1
    11 fi
    12 
    13 #JBIGI=../../../installer/lib/jbigi/jbigi.jar
    14 
    15 #if [ -f jbigi.jarx ] ; then
    16 #JBIGI=../jbigi.jar
    17 #fi
    184
    195rm -f t/* jcpuid/lib/freenet/support/CPUInformation/* jbigi/lib/net/i2p/util/*
     
    3319(
    3420        cd t
    35         for i in *.so ; { strip $i ; }
     21        for i in *.so ; do strip $i ; done
    3622)
    3723
     
    4834(
    4935        cd t
    50         for i in *.so ; { strip $i ; }
     36        for i in *.so ; do strip $i ; done
    5137)
    5238
Note: See TracChangeset for help on using the changeset viewer.