diff options
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux/run-ptest')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux/run-ptest | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux/run-ptest b/meta/recipes-core/util-linux/util-linux/run-ptest index 8c57bd2074..03248325bf 100644 --- a/meta/recipes-core/util-linux/util-linux/run-ptest +++ b/meta/recipes-core/util-linux/util-linux/run-ptest | |||
@@ -1,5 +1,9 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | current_path=$(readlink -f $0) | ||
4 | export bindir=$(dirname $current_path) | ||
5 | export PATH=$bindir/bin:$PATH | ||
6 | |||
3 | cd tests || exit 1 | 7 | cd tests || exit 1 |
4 | 8 | ||
5 | comps=$(find ts/ -type f -perm -111 -regex ".*/[^\.~]*" | sort) | 9 | comps=$(find ts/ -type f -perm -111 -regex ".*/[^\.~]*" | sort) |