mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-14 18:57:20 -07:00
* 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:
parent
6122bf9d8b
commit
fc9ceba7e7
3 changed files with 7 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue