* configure.ac, README: LP: #861291

- configure should not change files under vcs control
  - compiling users need to ensure that BYOBU_PREFIX is set in
    their environment
This commit is contained in:
Dustin Kirkland 2011-10-22 01:30:36 -05:00
commit fc9ceba7e7
3 changed files with 7 additions and 11 deletions

View file

@ -29,12 +29,3 @@ AC_OUTPUT(Makefile \
usr/share/doc/byobu/Makefile \
usr/lib/byobu/Makefile \
usr/share/man/man1/Makefile usr/bin/Makefile)
if test -n "${prefix}" && test "${prefix}" != "/usr"; then
for i in usr/bin/byobu*; do
# This hackery seems necessary for Mac OSX and Solaris installs
sed -e "s:BYOBU_PREFIX=.*:BYOBU_PREFIX=\"${prefix}\":" "$i" > "$i.new"
mv -f "$i.new" "$i"
chmod 755 "$i"
done
fi