Skip to content

Commit

Permalink
Using correct location to gitignore file.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisoelkers committed Apr 27, 2016
1 parent 3752ca6 commit 187429e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bootstrap-plugin
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mvn archetype:generate -DarchetypeGroupId=org.graylog -DarchetypeArtifactId=gray
buildConf=${modulesPrefix}/${pluginname}/build.config.js
cp ${buildConf}.sample ${buildConf}

gitignore=${prefix}/.gitignore
gitignore=${projectRoot}/.gitignore
grep -q ${pluginname} ${gitignore} || printf "\n%s\n" "${pluginname}" >> ${gitignore}

pushd 2> /dev/null
Expand Down
1 change: 1 addition & 0 deletions scripts/includes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ err() {
}

prefix=$(dirname $0)
projectRoot=${prefix}/..
modulesPrefix=.
serverDir=${modulesPrefix}/graylog2-server
webIfDir=${serverDir}/graylog2-web-interface
Expand Down

0 comments on commit 187429e

Please sign in to comment.