moves /bin to api/bin

main
Luis Gerardo Romero Garcia 2025-03-25 08:06:05 +01:00
parent bd44f6c658
commit 56c61d07c3
5 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@ -5,7 +5,6 @@
!app/cache/.gitkeep
!app/logs/.gitkeep
/app/phpunit.xml
/bin/
/build/
/composer.phar
/var/*

View File

@ -232,6 +232,7 @@ function copyServerFiles() {
#public
src
.env
bin
composer.json
composer.lock
phpunit.xml.dist
@ -242,6 +243,7 @@ function copyServerFiles() {
#public
src
.env
bin
composer.json
composer.lock
phpunit.xml.dist
@ -256,7 +258,7 @@ function copyServerFiles() {
# Copiar ficheros.
echoAndLog "${FUNCNAME}(): copying files to server directories"
pushd "$WORKDIR/ogdhcp" || return
pushd "$WORKDIR/ogdhcp/api" || return
local i
for (( i = 0; i < ${#SOURCES[@]}; i++ )); do
if [ -f "${SOURCES[$i]}" ]; then
@ -269,6 +271,7 @@ function copyServerFiles() {
warningAndLog "Unable to copy ${SOURCES[$i]} to $symfony_target/${TARGETS[$i]}"
fi
done
pushd "$WORKDIR/ogdhcp" || return
# Copiar el directorio etc
echoAndLog "Copying etc directory to $path_opengnsys_base"
cp -a etc "$path_opengnsys_base"