Update 'init/entrypoint.sh'
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8b4e0de717
commit
5bdbfe00b8
|
@ -12,12 +12,6 @@ git pull origin $REMOTE_BRANCH
|
|||
|
||||
# Create target folder and move files
|
||||
mkdir -p $TARGET_DIR
|
||||
if [ -n $FLATTEN_FOLDER ]; then
|
||||
# Flatten folder structure
|
||||
mv ./*/**/* $TARGET_DIR
|
||||
else
|
||||
# Retain folder structure
|
||||
mv ./* $TARGET_DIR
|
||||
fi
|
||||
mv `echo $SPARSE_CHECKOUT` $TARGET_DIR
|
||||
|
||||
exec "$@"
|
Loading…
Reference in New Issue