Skip to content

Commit 49e8914

Browse files
committed
Allow execution of the update_nav script from anywhere
1 parent be70ad7 commit 49e8914

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

changelog/update_nav.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
set -ueEo pipefail
44

5-
cd changelog
5+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6+
cd $DIR
7+
68
all_vers=($(ls *.dd | grep '^[0-9]\.[0-9][0-9][0-9]\(\.[0-9]\)\?\(_pre\)\?\.dd$' | sort))
79
# also see http://wiki.bash-hackers.org/syntax/pe#search_and_replace
810
# filter-out all pre-release changelogs

0 commit comments

Comments
 (0)