Skip to content

Commit 90e3a94

Browse files
authored
Replace hard coded $app_name
1 parent 1590bc1 commit 90e3a94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh-md-toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ gh_toc_get_filename() {
169169
# Options hendlers
170170
#
171171
gh_toc_app() {
172-
local app_name="gh-md-toc"
172+
local app_name=$(basename $0)
173173
local need_replace="no"
174174

175175
if [ "$1" = '--help' ] || [ $# -eq 0 ] ; then

0 commit comments

Comments
 (0)