Skip to content

Commit 8c841c7

Browse files
author
Bruno Sutic
committed
Bugfix: invalid params for "save_sidebar_width"
1 parent 838b7fa commit 8c841c7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
### master
4+
- bugfix: invalid params for 'save_sidebar_width' script
45

56
### v0.6.0, Sep 05, 2014
67
- more options for customizing tree sidebar

scripts/save_sidebar_width.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
55
source "$CURRENT_DIR/helpers.sh"
66
source "$CURRENT_DIR/variables.sh"
77

8-
DIR_PATH="$1"
8+
DIR_PATH="$(echo "$1" | tail -1)" # fixes a bug with invalid param
99
WIDTH="$2"
1010
delimiter=$'\t'
1111

0 commit comments

Comments
 (0)