Skip to content

Commit 5ff58ca

Browse files
committed
script: use absolute paths to SCRIPT_DIR
1 parent 66a7f90 commit 5ff58ca

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

script/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
export SCRIPT_DIR=$(dirname "$0")
3+
export SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
44

55
##
66
## Configuration Variables

script/cibuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fi
3333
##
3434

3535
set -o pipefail
36-
SCRIPT_DIR=$(dirname "$0")
36+
SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
3737
XCWORKSPACE="ObjectiveGitFramework.xcworkspace"
3838
XCODE_OPTIONS=$(RUN_CLANG_STATIC_ANALYZER=NO ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO)
3939

script/ios_build_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
SCRIPT_DIR=$(dirname "$0")
3+
SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
44
source "${SCRIPT_DIR}/xcode_functions.sh"
55

66
function setup_build_environment ()

script/update_libgit2_ios

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
# source the common build functions
6-
SCRIPT_DIR=$(dirname "$0")
6+
SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
77
source "${SCRIPT_DIR}/ios_build_functions.sh"
88

99
function setup ()

script/update_libssh2_ios

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
# source the common build functions
6-
SCRIPT_DIR=$(dirname "$0")
6+
SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
77
source "${SCRIPT_DIR}/ios_build_functions.sh"
88

99
function setup ()

0 commit comments

Comments
 (0)