Publish
file: potd.p6 43: sub publish ( $target_img, $target_txt, $basename ) { 44: chdir $target_img.dirname; 45: my @commands = 46: "git add $target_img $target_txt", 47: "git commit -m 'potd $basename'", 48: "git push"; 49: for @commands -> $command { 50: shell $command; 51: } 52: }
chdir did not change