Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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