must use test

This commit is contained in:
Dustin Kirkland 2010-08-02 19:45:52 -04:00
commit 21a34db38f

View file

@ -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