From 21a34db38fe3bdcfde953e97e6c6cc955c936949 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Mon, 2 Aug 2010 19:45:52 -0400 Subject: [PATCH] must use test --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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