Skip to content

Commit

Permalink
Fixed make create
Browse files Browse the repository at this point in the history
  • Loading branch information
mblaschke committed Mar 19, 2016
1 parent 08c7419 commit a3d964c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/create-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ if [ "$#" -lt 1 ]; then
exit 1
fi

mkdir -p -- "$CODE_DIR/"
chmod 777 "$CODE_DIR/"

rm -f -- "$CODE_DIR/.gitkeep"
rm -rf -- "$CODE_DIR"
mkdir -p "$CODE_DIR"

case "$1" in
###################################
Expand Down

1 comment on commit a3d964c

@stucki
Copy link
Contributor

@stucki stucki commented on a3d964c Jul 11, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does actually break the container. When I start a fresh installation with make up followed by make create typo3, it is not possible to enter the /app folder anymore (make bash will throw an error). This is because the folder has a different inode than before.

My suggestion is to delete only contents but not the app/ folder itself.

See #138.

Please sign in to comment.