[why]
upload_config upload_to_target_dir /cci/build-config/vue . /lkp/lkp/src/lib/upload.sh . /lkp/lkp/src/lib/env.sh '[' -n 1 ']' return local dir=/cci/build-config/vue grep -v @ ls -F /cci/build-config/vue ls: cannot access '/cci/build-config/vue': No such file or directory
Signed-off-by: Liu Shaofei 370072077@qq.com --- tests/build-pkg | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/tests/build-pkg b/tests/build-pkg index 44bd1c10d..f6c27a754 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -48,6 +48,8 @@ get_config()
upload_config() { + [ -d "${cci_dir}/${pkgname}" ] || mkdir -p "${cci_dir}/${pkgname}" + upload_to_target_dir "${cci_dir}/${pkgname}" }
On Fri, Dec 25, 2020 at 08:41:43PM +0800, Liu Shaofei wrote:
[why]
why => error
delete the blank line.
upload_config upload_to_target_dir /cci/build-config/vue . /lkp/lkp/src/lib/upload.sh . /lkp/lkp/src/lib/env.sh '[' -n 1 ']' return local dir=/cci/build-config/vue grep -v @ ls -F /cci/build-config/vue ls: cannot access '/cci/build-config/vue': No such file or directory
Signed-off-by: Liu Shaofei 370072077@qq.com
tests/build-pkg | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/tests/build-pkg b/tests/build-pkg index 44bd1c10d..f6c27a754 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -48,6 +48,8 @@ get_config()
upload_config() {
- [ -d "${cci_dir}/${pkgname}" ] || mkdir -p "${cci_dir}/${pkgname}"
- upload_to_target_dir "${cci_dir}/${pkgname}"
How about define a local var, like cci_pkg_dir="${cci_dir}/${pkgname}", then you can use ${cci_pkg_dir},
Thanks, Xueliang
}
-- 2.23.0
On Mon, Dec 28, 2020 at 10:30:27AM +0800, Cao Xueliang wrote:
On Fri, Dec 25, 2020 at 08:41:43PM +0800, Liu Shaofei wrote:
[why]
why => error
delete the blank line.
ok
upload_config upload_to_target_dir /cci/build-config/vue . /lkp/lkp/src/lib/upload.sh . /lkp/lkp/src/lib/env.sh '[' -n 1 ']' return local dir=/cci/build-config/vue grep -v @ ls -F /cci/build-config/vue ls: cannot access '/cci/build-config/vue': No such file or directory
Signed-off-by: Liu Shaofei 370072077@qq.com
tests/build-pkg | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/tests/build-pkg b/tests/build-pkg index 44bd1c10d..f6c27a754 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -48,6 +48,8 @@ get_config()
upload_config() {
- [ -d "${cci_dir}/${pkgname}" ] || mkdir -p "${cci_dir}/${pkgname}"
- upload_to_target_dir "${cci_dir}/${pkgname}"
How about define a local var, like cci_pkg_dir="${cci_dir}/${pkgname}", then you can use ${cci_pkg_dir},
ok Thanks, Liushaofei
Thanks, Xueliang
}
-- 2.23.0