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