Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 26136 | Differences between
and this patch

Collapse All | Expand All

(-)lilypond-1.8.1/autogen.sh (-1 / +1 lines)
Lines 23-29 Link Here
23
# If you have such a setup, invoke this script as:
23
# If you have such a setup, invoke this script as:
24
#   autoconf=autoconf2.50 ./autogen.sh
24
#   autoconf=autoconf2.50 ./autogen.sh
25
for i in autoconf2.50 autoconf-2.50 autoconf  false; do
25
for i in autoconf2.50 autoconf-2.50 autoconf  false; do
26
  version=`$i --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'`
26
  version=`$i --version 2>/dev/null | head -n 1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'`
27
  if test "0$version" -ge 250; then
27
  if test "0$version" -ge 250; then
28
    autoconf=$i
28
    autoconf=$i
29
    break
29
    break
(-)lilypond-1.8.1/buildscripts/mf-to-xpms.sh (-1 / +1 lines)
Lines 21-27 Link Here
21
	gftopk out/$font.${RESOLUTION}gf out/$font.${RESOLUTION}pk
21
	gftopk out/$font.${RESOLUTION}gf out/$font.${RESOLUTION}pk
22
fi
22
fi
23
23
24
# num=`grep "^C *[0-9]*;" $afm | tail -1 | sed "s!^C *\([^;]*\).*!\\1!"`
24
# num=`grep "^C *[0-9]*;" $afm | tail -n 1 | sed "s!^C *\([^;]*\).*!\\1!"`
25
# num=66
25
# num=66
26
# tex=out/$font.tex
26
# tex=out/$font.tex
27
# cat > $tex <<EOF
27
# cat > $tex <<EOF
(-)lilypond-1.8.1/stepmake/aclocal.m4 (-3 / +3 lines)
Lines 11-23 Link Here
11
    ## command -v doesn't work in zsh
11
    ## command -v doesn't work in zsh
12
    ## command -v "$1" 2>&1
12
    ## command -v "$1" 2>&1
13
    ## this test should work in ash, bash, pdksh (ksh), zsh
13
    ## this test should work in ash, bash, pdksh (ksh), zsh
14
    type -p "$1" 2>/dev/null | tail -1 | awk '{print $NF}'
14
    type -p "$1" 2>/dev/null | tail -n 1 | awk '{print $NF}'
15
])
15
])
16
16
17
17
18
# Get version string from executable ($1)
18
# Get version string from executable ($1)
19
AC_DEFUN(STEPMAKE_GET_VERSION, [
19
AC_DEFUN(STEPMAKE_GET_VERSION, [
20
    ## "$1" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
20
    ## "$1" --version 2>&1 | grep -v '^$' | head -n 1 | awk '{print $NF}'
21
    ##
21
    ##
22
    ## ARG.
22
    ## ARG.
23
    ## Workaround for broken Debian gcc version string:
23
    ## Workaround for broken Debian gcc version string:
Lines 28-34 Link Here
28
    ## Assume, and hunt for, dotted version multiplet.
28
    ## Assume, and hunt for, dotted version multiplet.
29
29
30
    changequote(<<, >>)dnl
30
    changequote(<<, >>)dnl
31
    ("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\.[0-9]' | head -1 | \
31
    ("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\.[0-9]' | head -n 1 | \
32
	sed -e 's/.*[^-.0-9]\([0-9][0-9]*\.[0-9][.0-9]*\).*/\1/'
32
	sed -e 's/.*[^-.0-9]\([0-9][0-9]*\.[0-9][.0-9]*\).*/\1/'
33
    changequote([, ])dnl
33
    changequote([, ])dnl
34
])
34
])
(-)lilypond-1.8.1/stepmake/autogen.sh (-1 / +1 lines)
Lines 23-29 Link Here
23
# If you have such a setup, invoke this script as:
23
# If you have such a setup, invoke this script as:
24
#   autoconf=autoconf2.50 ./autogen.sh
24
#   autoconf=autoconf2.50 ./autogen.sh
25
for i in autoconf2.50 autoconf-2.50 autoconf  false; do
25
for i in autoconf2.50 autoconf-2.50 autoconf  false; do
26
  version=`$i --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'`
26
  version=`$i --version 2>/dev/null | head -n 1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'`
27
  if test "0$version" -ge 250; then
27
  if test "0$version" -ge 250; then
28
    autoconf=$i
28
    autoconf=$i
29
    break
29
    break
(-)lilypond-1.8.1/stepmake/bin/stepmakeise.sh (-1 / +1 lines)
Lines 54-60 Link Here
54
		echo "$name: huh 2?"
54
		echo "$name: huh 2?"
55
		exit 1
55
		exit 1
56
	fi
56
	fi
57
	LATEST=`cd $reldir; ls -t1 stepmake-*.tar.gz | head -1 | sed 's!stepmake-!!' | sed 's!.tar.gz!!'`
57
	LATEST=`cd $reldir; ls -t1 stepmake-*.tar.gz | head -n 1 | sed 's!stepmake-!!' | sed 's!.tar.gz!!'`
58
	# urg
58
	# urg
59
	latest=`echo $LATEST | sed 's/\.[a-zA-Z][a-zA-Z]*[0-9]*$//'`
59
	latest=`echo $LATEST | sed 's/\.[a-zA-Z][a-zA-Z]*[0-9]*$//'`
60
	latest_val=`value $latest`
60
	latest_val=`value $latest`
(-)lilypond-1.8.1/stepmake/stepmake/automatically-generated.sub.make (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
default:
4
default:
5
	-chmod +w $(OUTFILE)
5
	-chmod +w $(OUTFILE)
6
	head -1 $(INFILE) > $(OUTFILE)
6
	head -n 1 $(INFILE) > $(OUTFILE)
7
	echo "$(LINECOMMENT) WARNING WARNING WARNING" >> $(OUTFILE)
7
	echo "$(LINECOMMENT) WARNING WARNING WARNING" >> $(OUTFILE)
8
	echo "$(LINECOMMENT) do not edit! this is $(OUTFILE), generated from $(INFILE)" >> $(OUTFILE)
8
	echo "$(LINECOMMENT) do not edit! this is $(OUTFILE), generated from $(INFILE)" >> $(OUTFILE)
9
	cat $(INFILE) >> $(OUTFILE)
9
	cat $(INFILE) >> $(OUTFILE)

Return to bug 26136