I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit df555731 authored by kytv's avatar kytv
Browse files

minor script changes

- mbuild.sh: don't require bash
- Slackware/i2p/doinst.sh: add bash shebang
parent 641fc0ca
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/bash
INST_DIR=directory INST_DIR=directory
......
#!/usr/bin/env bash #!/bin/sh -e
# Automatic build of so files, ignores failed builds. # Automatic build of so files, ignores failed builds.
# Place latest gmp tarball in the jbigi dir, and exec this script. # Place latest gmp tarball in the jbigi dir, and exec this script.
if [ -z "$BASH_VERSION" ]; then
echo "This script needs to be run with Bash."
echo
echo "Please install bash and then run this script with"
echo "bash $0"
exit 1
fi
#JBIGI=../../../installer/lib/jbigi/jbigi.jar
#if [ -f jbigi.jarx ] ; then
#JBIGI=../jbigi.jar
#fi
rm -f t/* jcpuid/lib/freenet/support/CPUInformation/* jbigi/lib/net/i2p/util/* rm -f t/* jcpuid/lib/freenet/support/CPUInformation/* jbigi/lib/net/i2p/util/*
( cd jcpuid ; ./build.sh ) ( cd jcpuid ; ./build.sh )
...@@ -32,7 +18,7 @@ mkdir t ...@@ -32,7 +18,7 @@ mkdir t
cp jbigi/lib/net/i2p/util/* t/ cp jbigi/lib/net/i2p/util/* t/
( (
cd t cd t
for i in *.so ; { strip $i ; } for i in *.so ; do strip $i ; done
) )
cp jcpuid/lib/freenet/support/CPUInformation/* t/ cp jcpuid/lib/freenet/support/CPUInformation/* t/
...@@ -47,7 +33,7 @@ mkdir t ...@@ -47,7 +33,7 @@ mkdir t
cp jbigi/lib/net/i2p/util/* t/ cp jbigi/lib/net/i2p/util/* t/
( (
cd t cd t
for i in *.so ; { strip $i ; } for i in *.so ; do strip $i ; done
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment