From: Enlightenment S. <no-...@en...> - 2010-12-03 05:47:28
|
Log: okay fine, just use a bash shebang Author: discomfitor Date: 2010-12-02 21:47:21 -0800 (Thu, 02 Dec 2010) New Revision: 55174 Trac: http://trac.enlightenment.org/e/changeset/55174 Modified: trunk/PROTO/azy/bootstrap.sh Modified: trunk/PROTO/azy/bootstrap.sh =================================================================== --- trunk/PROTO/azy/bootstrap.sh 2010-12-03 05:44:02 UTC (rev 55173) +++ trunk/PROTO/azy/bootstrap.sh 2010-12-03 05:47:21 UTC (rev 55174) @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash bs_dir="$(dirname $(readlink -f $0))" rm -rf "${bs_dir}"/autom4te.cache rm -f "${bs_dir}"/aclocal.m4 "${bs_dir}"/ltmain.sh @@ -6,9 +6,7 @@ echo 'Running autoreconf -if...' autoreconf -if || exit 1 echo 'Configuring...' -if [[ -z "$NOCONFIGURE" ]] ; then - cd "${bs_dir}" && ./configure $@ && cd - &> /dev/null || exit 1 -fi +[[ -z "$NOCONFIGURE" ]] && cd "${bs_dir}" && ./configure $@ && cd - &> /dev/null || exit 1 echo -e "\nRunning make..." make -C "${bs_dir}" -j2 --no-print-directory V=0 || exit 1 echo -e "\n\nDone!" |