diff options
author | Jaroslav Kysela <perex@perex.cz> | 2010-07-30 19:59:13 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2010-07-30 19:59:13 +0200 |
commit | ae65177c4155488d110a4092d05282f615dfe969 (patch) | |
tree | 31c45eec2abe6bd6e11a5562e484c5c311dfdf2c | |
parent | 6d6173d248e5d54ae553e1f44e6147a2e5d93e8d (diff) | |
download | alsa-driver-build-unstable-ae65177c4155488d110a4092d05282f615dfe969.tar.gz |
alsa-compile.sh: Fix typo and add directory check for --url
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rwxr-xr-x | utils/alsa-compile.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/alsa-compile.sh b/utils/alsa-compile.sh index 6e653f8c8..9c4bb075e 100755 --- a/utils/alsa-compile.sh +++ b/utils/alsa-compile.sh @@ -153,6 +153,9 @@ do url="$2" shift ;; esac + if test -d "$url"; then + url="file:///$url" + fi ;; --git*) case "$#,$1" in @@ -476,7 +479,7 @@ check_compilation_environment() { local a=$(make --version | head -1 | cut -d ' ' -f 1) local b=$(make --version | head -1 | cut -d ' ' -f 2) if test "$a" != "make" -a "$b" != "make" -a \ - test "$a" != "Make" -a test "$b" != "Make"; then + "$a" != "Make" -a "$b" != "Make"; then install_package make else echo "Program make found." |