Skip to content

Create-yang-module.sh script does not work on lubuntu (or bash?)? #7

Open
@rsharvey

Description

@rsharvey

When trying to set up the Exosense server and add the ckp.yang file, I found that the create-yang-module.sh file would not work. I'm not sure entirely the reason, but changing the "==" equalities to "=" in the bash if statements did the trick. i.e.

if [ $# = 1 ]
then
    REPO=user
    YANG_FILE=$1
elif [ $# = 2 ]
then
    REPO=$1
    YANG_FILE=$2
else
    echo "Usage: $0 [user|system] yang-file"
    exit 255
fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions