Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit fa00549

Browse files
author
Mateu Aguiló Bosch
committed
ci: fix bin directory
1 parent ce004fa commit fa00549

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/development/start-contenta_jsonapi.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ fi
88

99
BASE_DIR="$(dirname $(dirname $(cd ${0%/*} && pwd)))"
1010
COMPOSER="$(which composer)"
11+
COMPOSER_BIN_DIR="$(composer config bin-dir)"
1112
DOCROOT="web"
1213

1314
# Define the color scheme.
@@ -27,7 +28,7 @@ cd ${DEST_DIR}
2728
cd ${DOCROOT}
2829

2930
echo -e "\n"
30-
DRUSH="$DEST_DIR/bin/drush"
31+
DRUSH="$DEST_DIR/$COMPOSER_BIN_DIR/drush"
3132

3233

3334
echo "-------------------------------------"

0 commit comments

Comments
 (0)