Skip to content

Commit 4445b5a

Browse files
committed
- Replace realpath for macOS
1 parent 38f1b50 commit 4445b5a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ platforms:
6060
script_location: toolchain/ci
6161
template_location: toolchain/cmake/Templates
6262
version:
63-
hotfix: 26
63+
hotfix: 27
6464
major: 0
6565
minor: 3
6666
patch: 0

cb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ case $1 in
6565
pwd
6666
docker run --rm \
6767
-v ${BASE_DIR}:/build/src \
68-
-v $(realpath .)/build:/build/build \
69-
-v $(realpath .)/install:/build/install \
68+
-v $PWD/build:/build/build \
69+
-v $PWD/install:/build/install \
7070
-e BUILDVARIANT=${BUILDVARIANT} \
7171
-e CONFIGURATION=${CONFIGURATION} \
7272
-e GENERATE_PROGRAMS=${GENERATE_PROGRAMS} \
@@ -75,21 +75,21 @@ case $1 in
7575
${CONTAINER} /build/src/cb ci-build ${@:2}
7676
;;
7777
"compress-usr-dir")
78-
INSTALL_DIR=$(realpath .)/build/install
78+
INSTALL_DIR=$PWD/build/install
7979

8080
if [ -f "${BASE_DIR}/deploy-script.sh" ]; then
8181
echo "-- Using customized deploy script"
8282
source ${BASE_DIR}/deploy-script.sh
8383
else
84-
OUTPUT=$(realpath .)/${2}_${BUILDVARIANT}.tar.bz2
84+
OUTPUT=$PWD/${2}_${BUILDVARIANT}.tar.bz2
8585
echo "-- Creating $OUTPUT from $INSTALL_DIR"
8686

8787
echo "-- Current directory: $(pwd)"
8888

8989
echo "-- Source dir: ${BASE_DIR}"
9090
ls ${BASE_DIR}
91-
echo "-- Build dir: $(realpath .)/build"
92-
ls $(realpath .)/build
91+
echo "-- Build dir: $PWD/build"
92+
ls $PWD/build
9393
echo "-- Install dir: ${INSTALL_DIR}"
9494
ls ${INSTALL_DIR}
9595

0 commit comments

Comments
 (0)