diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-08-27 08:57:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-28 15:12:44 +0100 |
commit | cdfc5150862dc3128bd85353f0263213e595778b (patch) | |
tree | f775334faa5c47aafe59929b22e45702dfcad931 /meta/recipes-kernel/oprofile | |
parent | 1087a185246bbc5dac628ac9238d0ddf665ff660 (diff) | |
download | poky-cdfc5150862dc3128bd85353f0263213e595778b.tar.gz |
valgrind/oprofile/systemd: no bashism in run-ptest
There is no bashism in the scripts, so use /bin/sh, and add /bin/sh
interpreter for systemd's run-ptest.
(From OE-Core rev: 62d455f89fb1d2c22cf987bdbb56a55e6d031ce0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile')
-rw-r--r-- | meta/recipes-kernel/oprofile/oprofile/run-ptest | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofile/run-ptest b/meta/recipes-kernel/oprofile/oprofile/run-ptest index 583ee1b8a8..4814be652a 100644 --- a/meta/recipes-kernel/oprofile/oprofile/run-ptest +++ b/meta/recipes-kernel/oprofile/oprofile/run-ptest | |||
@@ -1,4 +1,5 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/sh |
2 | |||
2 | saved_dir=$PWD | 3 | saved_dir=$PWD |
3 | for dir in */tests ; do | 4 | for dir in */tests ; do |
4 | cd $dir | 5 | cd $dir |