Skip to content

Commit

Permalink
fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
wenovus committed Nov 11, 2023
1 parent 21aea07 commit b207797
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd_gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ script_options=(
function run-dir() {
declare prefix="$workdir"/"$1"=="$2"==
outdir=$GOPATH/src/ygot/"$1"."$2"/
mkdir "$outdir"
mkdir -p "$outdir"
local options=( -output_file="$outdir"/oc.go "${options[@]}" )
shift 2
echo $cmd "${options[@]}" "$@" > ${prefix}cmd
Expand Down Expand Up @@ -265,7 +265,7 @@ script_options=(
function run-dir() {
declare prefix="$workdir"/"$1"=="$2"==
outdir=$GOPATH/src/ygnmi/"$1"."$2"
mkdir "$outdir"
mkdir -p "$outdir"
local options=( --output_dir="${outdir}"/oc --base_package_path="$1"."$2"/oc "${options[@]}" )
shift 2
echo $cmd "${options[@]}" "$@" > ${prefix}cmd
Expand Down
4 changes: 2 additions & 2 deletions cmd_gen/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ script_options=(
function run-dir() {
declare prefix="$workdir"/"$1"=="$2"==
outdir=$GOPATH/src/ygot/"$1"."$2"/
mkdir "$outdir"
mkdir -p "$outdir"
local options=( -output_file="$outdir"/oc.go "${options[@]}" )
shift 2
echo $cmd "${options[@]}" "$@" > ${prefix}cmd
Expand Down Expand Up @@ -239,7 +239,7 @@ script_options=(
function run-dir() {
declare prefix="$workdir"/"$1"=="$2"==
outdir=$GOPATH/src/ygnmi/"$1"."$2"
mkdir "$outdir"
mkdir -p "$outdir"
local options=( --output_dir="${outdir}"/oc --base_package_path="$1"."$2"/oc "${options[@]}" )
shift 2
echo $cmd "${options[@]}" "$@" > ${prefix}cmd
Expand Down

0 comments on commit b207797

Please sign in to comment.