Skip to content

Commit c7a9057

Browse files
committed
Fix dirname usage in file copy
1 parent 650bf85 commit c7a9057

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/versions.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
IMAGE_VERSION=1.21.12
1+
IMAGE_VERSION=1.21.13
22
NDK_VERSION=27.2.12479018
33
BAZELISK_VERSION=v1.26.0

android_dev/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ copy_fix_dir_permissions() {
4848
copy_fix_file_owner() {
4949
local file_path=$1
5050
echo "Fixing ownership for ${file_path}..."
51-
mkdir -p "dirname(${file_path})"
51+
mkdir -p "$(dirname "${file_path}")"
5252
local original_path="${file_path}_original"
5353
cp "${original_path}" "${file_path}"
5454
chown ${ACTUAL_USER}:${ACTUAL_USER} "${file_path}"

0 commit comments

Comments
 (0)