aboutsummaryrefslogtreecommitdiffstats
path: root/build/vty_reference_combine.sh
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-29 01:28:25 +0700
committerlaforge <laforge@osmocom.org>2020-11-02 09:29:59 +0000
commit5be5350c8dadb0d87d81eb39ce7592f2926a48af (patch)
treef44d4f3a4e19a94c947006852da6add9bc5613e2 /build/vty_reference_combine.sh
parent16236cfd4cb9db178847cdfcf90a1654d2fe43eb (diff)
Makefile.vty-reference.inc: create 'generated' in this file
Ideally, 'vty_reference_combine.sh' should not create any files nor directories on its own; it should do exactly what its name suggests - combine several XML files into a single one. Let's first make the target directory ('generated') creation a task of 'Makefile.vty-reference.inc', and then make it output the results to stdout in a follow-up change. Change-Id: Iabe729af22c235cf9c4b252acda99b43ebcae20c Related: SYS#4937
Diffstat (limited to 'build/vty_reference_combine.sh')
-rwxr-xr-xbuild/vty_reference_combine.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/build/vty_reference_combine.sh b/build/vty_reference_combine.sh
index 6ab279e..11e84c0 100755
--- a/build/vty_reference_combine.sh
+++ b/build/vty_reference_combine.sh
@@ -20,7 +20,6 @@ combined="$VTYGEN/combined.xml"
combine_src="$VTYGEN/combine_src.xml"
set -x
-mkdir -p "$VTYGEN"
cp $reference "$combined"
while [ -n "$1" ]; do