Skip to content

Commit 4714c80

Browse files
committed
Exit with error if library not found
1 parent aca92ad commit 4714c80

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

git-issue.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ for i in ${LD_LIBRARY_PATH} ; do
4343
fi
4444
done
4545

46+
4647
IFS=$my_IFS
4748

4849
if command -v gdate > /dev/null ; then
@@ -59,6 +60,9 @@ error()
5960
}
6061

6162
$DATEBIN --help | grep 'gnu' > /dev/null || error "Require GNU date"
63+
64+
test "x$MY_LIB" != x || error "No git-issue directory in path $LD_LIBRARY_PATH"
65+
6266
# Return a unique identifier for the specified file
6367
filesysid()
6468
{

0 commit comments

Comments
 (0)