diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-18 00:36:02 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-23 16:21:02 +0100 |
commit | c8faa619a19d528765ca44ee72a9888413a73045 (patch) | |
tree | 6eb00a7c3fa5b0f7f56ef62e7a2ea516d5da4f8f /t/remove.t | |
parent | 2e773e67617e3ee3b9d30ed2365579ef18aa3a29 (diff) | |
download | sbotools2-c8faa619a19d528765ca44ee72a9888413a73045.tar.xz |
Need to make sure path exists before creating SLACKBUILDS.TXT
Diffstat (limited to 't/remove.t')
-rwxr-xr-x | t/remove.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ sub make_slackbuilds_txt { if ($_[0]) { if ($made) { return system(qw!rm -rf!, $fname); } } else { - if (not -e $fname) { $made = 1; system('touch', $fname); } + if (not -e $fname) { $made = 1; system('mkdir', '-p', '/usr/sbo/repo'); system('touch', $fname); } } } |