Skip to content

Commit 2ef8dc0

Browse files
committed
[ci skip] Mitigate scripts failing to run on newer versions of bash
1 parent c47b014 commit 2ef8dc0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scripts/applyPatches.sh

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

33
PS1="$"
4-
basedir="$(cd "$1" && pwd -P)"
4+
basedir="$(pwd -P)"
55
workdir="$basedir/work"
66
gpgsign="$(git config commit.gpgsign || echo "false")"
77
echo "Rebuilding Forked projects.... "

scripts/build.sh

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

3-
git submodule update --init && ./scripts/applyPatches.sh || exit 1
3+
git submodule update --init && ./scripts/applyPatches.sh . || exit 1
44

55
if [ "$1" == "--jar" ]; then
66
mvn clean package

scripts/rebuildPatches.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
(
44
PS1="$"
5-
basedir="$(cd "$1" && pwd -P)"
5+
basedir="$(pwd -P)"
66
workdir="$basedir/work"
77
echo "Rebuilding patch files from current fork state..."
88
git config core.safecrlf false

0 commit comments

Comments
 (0)