Change dir tmp to relative path