The pattern mkdir test_commands rm -rf test_commands makes no sense. If there were test_commands before, mkdir would have failed. Simply build the path and copy the source content in. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>