Skip to content

Commit

Permalink
Merge pull request ekalinin#45 from phyrog/master
Browse files Browse the repository at this point in the history
Replace hard coded $app_name
  • Loading branch information
ekalinin authored Oct 4, 2018
2 parents 066a3e3 + 90e3a94 commit 06ac6fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh-md-toc
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ gh_toc_get_filename() {
# Options hendlers
#
gh_toc_app() {
local app_name="gh-md-toc"
local app_name=$(basename $0)
local need_replace="no"

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

0 comments on commit 06ac6fd

Please sign in to comment.