Skip to content

Commit 85587d0

Browse files
committed
Fix n98 download if the bin directory doesn't get created (e.g. if composer is run with --no-dev).
1 parent 99b4daf commit 85587d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

magento1/usr/local/share/magento1/magento_functions.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
function do_magento_n98_download() {
44
if [ ! -f bin/n98-magerun.phar ]; then
5+
as_code_owner "mkdir -p bin"
56
as_code_owner "curl -o bin/n98-magerun.phar https://files.magerun.net/n98-magerun.phar"
67
fi
78
}

0 commit comments

Comments
 (0)