File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/share/yang/modules/utils Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- # Copyright (C) 2018-2022 Internet Systems Consortium, Inc. ("ISC")
3+ # Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
44#
55# This Source Code Form is subject to the terms of the Mozilla Public
66# License, v. 2.0. If a copy of the MPL was not distributed with this
1818set -eu
1919
2020# Change directory to the YANG modules' directory.
21- cd " @abs_top_srcdir@/src/share/yang/modules"
21+ script_path=$( cd " $( dirname " ${0} " ) " && pwd)
22+ cd " ${script_path} /@top_srcdir@/src/share/yang/modules"
2223
2324amend=false
2425if test " ${1-} " = ' -a' || test " ${1-} " = ' --amend' ; then
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- # Copyright (C) 2018-2022 Internet Systems Consortium, Inc. ("ISC")
3+ # Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
44#
55# This Source Code Form is subject to the terms of the Mozilla Public
66# License, v. 2.0. If a copy of the MPL was not distributed with this
1818set -eu
1919
2020# Change directory to the YANG modules' directory.
21- cd " @abs_top_srcdir@/src/share/yang/modules"
21+ script_path=$( cd " $( dirname " ${0} " ) " && pwd)
22+ cd " ${script_path} /@top_srcdir@/src/share/yang/modules"
2223
2324exit_code=0
2425
You can’t perform that action at this time.
0 commit comments