diff --git a/configure.ac b/configure.ac index 28b0cacf..c8e00a23 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,6 @@ AC_OUTPUT(Makefile \ usr/lib/byobu/Makefile \ usr/share/man/man1/Makefile usr/bin/Makefile) -if [ -n "${prefix}" ] && [ "${prefix}" != "/usr"]; then +if test -n "${prefix}" && test "${prefix}" != "/usr"; then sed -i "s: && export BYOBU_PREFIX=\"/usr\": && export BYOBU_PREFIX=\"${prefix}\":g" usr/bin/byobu-janitor usr/bin/byobu-launcher usr/bin/byobu-select-profile usr/bin/byobu-status usr/bin/byobu fi