test/common.sh: fix typo in gapk binary location

Message ID 20170830085034.482-1-axilirator@gmail.com
State New
Headers show
Series
  • test/common.sh: fix typo in gapk binary location
Related show

Commit Message

Vadim Yanitskiy Aug. 30, 2017, 8:50 a.m.
---
 test/common.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Max Aug. 31, 2017, 10:12 a.m. | #1
Shall we add gapk to gerrit to facilitate contributions?
Sylvain Munaut Aug. 31, 2017, 11:06 a.m. | #2
applied

On Wed, Aug 30, 2017 at 10:50 AM, Vadim Yanitskiy <axilirator@gmail.com> wrote:
> ---
>  test/common.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/common.sh b/test/common.sh
> index 39cdd7d..591be3a 100644
> --- a/test/common.sh
> +++ b/test/common.sh
> @@ -4,7 +4,7 @@ REFDIR=./ref-files
>  if [ -f ../src/gapk ]; then
>         GAPK=../src/gapk
>  elif [ -f `which gapk` ]; then
> -       GAPK=`whiich gapk`
> +       GAPK=`which gapk`
>  else
>         exit 1
>  fi
> --
> 2.14.1
>

Patch

diff --git a/test/common.sh b/test/common.sh
index 39cdd7d..591be3a 100644
--- a/test/common.sh
+++ b/test/common.sh
@@ -4,7 +4,7 @@  REFDIR=./ref-files
 if [ -f ../src/gapk ]; then
 	GAPK=../src/gapk
 elif [ -f `which gapk` ]; then
-	GAPK=`whiich gapk`
+	GAPK=`which gapk`
 else
 	exit 1
 fi