Skip to content

Commit d6bb5f6

Browse files
author
Damian Rouson
committed
Correct absolute_path in patched-trunk-install.sh
1 parent 670a971 commit d6bb5f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

developer-scripts/patched-trunk-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function usage()
88
{
99
echo "Usage:"
1010
echo " cd <opencoarrays-source-directory>"
11-
echo " ./developer_scripts/patched-trunk-install.sh <absolute-path>/patch-file.diff"
11+
echo " ./developer_scripts/patched-trunk-install.sh <patch-file>"
1212
exit 1
1313
}
1414
[[ $# -eq 0 || "${1}" == "-h" || "${1}" == "--help" || ! -f src/libcaf.h ]] && usage
@@ -24,7 +24,7 @@ function set_absolute_path()
2424
if [[ "${first_character}" == "/" ]]; then
2525
absolute_path="${arg}"
2626
else
27-
absolute_path="${PWD%%/}${arg}"
27+
absolute_path="${PWD%%/}/${arg}"
2828
fi
2929
}
3030
set_absolute_path "${patch_file}"

0 commit comments

Comments
 (0)