Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f0a32e9

Browse files
Fix computation of 'lib' path when calling 'git-issue.sh' without installing
The test script doesn't need to set GIT_ISSUE_LIB_PATH as this can be computed from the location of the 'git-issue.sh' script.
1 parent 0c3b4ad commit f0a32e9

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

‎git-issue.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ IFS=:
3636
# Set library path
3737
# shellcheck disable=SC2086
3838
# Rationale: Word splitting not an issue
39-
LIB_PATH="$(dirname 0ドル)/../lib:$LD_LIBRARY_PATH:/usr/local/lib:/usr/lib"
39+
LIB_PATH="$(dirname 0ドル)/lib:$(dirname 0ドル)/../lib:$LD_LIBRARY_PATH:/usr/local/lib:/usr/lib"
4040
if [ "x$GIT_ISSUE_LIB_PATH" != x ] ; then
4141
LIB_PATH="$GIT_ISSUE_LIB_PATH"
4242
fi

‎test.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,6 @@ ntest=0
180180
gi=$(pwd)/git-issue.sh
181181
gi_re=$(echo "$gi" | sed 's/[^0-9A-Za-z]/\\&/g')
182182

183-
# Setup GIT_ISSUE_LIB_PATH to allow pulling import-export.sh from lib
184-
GIT_ISSUE_LIB_PATH="$(pwd)/lib"
185-
export GIT_ISSUE_LIB_PATH
186-
187183
start sync-docs
188184
GenFiles='git-issue.sh git-issue.1'
189185
if ! git diff --quiet HEAD ; then

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /