Subject: incorrect path in guild when configure w/ --program-suffix used
From: Matt Wette <[email-masked]>
To: [email-masked]
Date: Sun, 21 Sep 2014 09:01:31 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

I built guile 2.0.11 with "configure --program-suffix=20".
guile was installed as .../bin/guile20
guild was installed as .../bin/guild20

The guild20 script references .../bin/guile when I was expecting .../bin/guile20 to be used:

#!/bin/sh
# -*- scheme -*-
prefix="/opt/local"
exec_prefix="${prefix}"
exec ${GUILE:-${exec_prefix}/bin/guile} $GUILE_FLAGS -e '(@@ (guild) main)' -s "$0" "$@"
!#