[Error] Packing package. Please wait. /usr/bin/setup-image: line 41: ./tmp/$IMAGE_PACK: ambiguous redirect
before: IMAGE_PAVK=' openeuler-20.03.cgz'
after: IMAGE_PAVK=openeuler-20.03.cgz
Signed-off-by: Wang Chenglong 18509160991@163.com --- container/docker2rootfs/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/docker2rootfs/run b/container/docker2rootfs/run index ce51ba3..8a7b315 100755 --- a/container/docker2rootfs/run +++ b/container/docker2rootfs/run @@ -12,7 +12,7 @@ check_passwd_file "$root_pwd_file" load_docker_img "$1" echo $docker_name_tag IMAGE_NAME=${docker_name_tag%%:*} -IMAGE_PACK=${IMAGE_NAME##*/}.cgz +IMAGE_PACK=$(echo ${IMAGE_NAME##*/}.cgz)
start=( docker run