From a3102522e2428d874ea50db7d6cec19be4e62b5e Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 19 Aug 2008 19:36:49 +0200 Subject: [PATCH] improved automake directory detection for echomixer tree Signed-off-by: Jaroslav Kysela --- echomixer/gitcompile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/echomixer/gitcompile b/echomixer/gitcompile index 0182277..39e35de 100755 --- a/echomixer/gitcompile +++ b/echomixer/gitcompile @@ -1,12 +1,15 @@ #!/bin/bash -if test "x$AUTOMAKE_DIR" = "x"; then +if test -z "$AUTOMAKE_DIR"; then if test -d /usr/local/share/automake; then AUTOMAKE_DIR=/usr/local/share/automake fi if test -d /usr/share/automake; then AUTOMAKE_DIR="/usr/share/automake" fi + if test -z "$AUTOMAKE_DIR"; then + AUTOMAKE_DIR=/usr/share/`ls /usr/share | grep automake | tail -n 1` + fi fi for f in install-sh mkinstalldirs missing; do -- 2.47.1