{"action":"closed","issue":{"url":"https://api.github.com/repos/sbopkg/sbopkg/issues/22","repository_url":"https://api.github.com/repos/sbopkg/sbopkg","labels_url":"https://api.github.com/repos/sbopkg/sbopkg/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/sbopkg/sbopkg/issues/22/comments","events_url":"https://api.github.com/repos/sbopkg/sbopkg/issues/22/events","html_url":"https://github.com/sbopkg/sbopkg/issues/22","id":182748399,"number":22,"title":"Passing command line options prevents building using queue","user":{"login":"willysr","id":240100,"avatar_url":"https://avatars.githubusercontent.com/u/240100?v=3","gravatar_id":"","url":"https://api.github.com/users/willysr","html_url":"https://github.com/willysr","followers_url":"https://api.github.com/users/willysr/followers","following_url":"https://api.github.com/users/willysr/following{/other_user}","gists_url":"https://api.github.com/users/willysr/gists{/gist_id}","starred_url":"https://api.github.com/users/willysr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willysr/subscriptions","organizations_url":"https://api.github.com/users/willysr/orgs","repos_url":"https://api.github.com/users/willysr/repos","events_url":"https://api.github.com/users/willysr/events{/privacy}","received_events_url":"https://api.github.com/users/willysr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"willysr","id":240100,"avatar_url":"https://avatars.githubusercontent.com/u/240100?v=3","gravatar_id":"","url":"https://api.github.com/users/willysr","html_url":"https://github.com/willysr","followers_url":"https://api.github.com/users/willysr/followers","following_url":"https://api.github.com/users/willysr/following{/other_user}","gists_url":"https://api.github.com/users/willysr/gists{/gist_id}","starred_url":"https://api.github.com/users/willysr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willysr/subscriptions","organizations_url":"https://api.github.com/users/willysr/orgs","repos_url":"https://api.github.com/users/willysr/repos","events_url":"https://api.github.com/users/willysr/events{/privacy}","received_events_url":"https://api.github.com/users/willysr/received_events","type":"User","site_admin":false},"assignees":[{"login":"willysr","id":240100,"avatar_url":"https://avatars.githubusercontent.com/u/240100?v=3","gravatar_id":"","url":"https://api.github.com/users/willysr","html_url":"https://github.com/willysr","followers_url":"https://api.github.com/users/willysr/followers","following_url":"https://api.github.com/users/willysr/following{/other_user}","gists_url":"https://api.github.com/users/willysr/gists{/gist_id}","starred_url":"https://api.github.com/users/willysr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willysr/subscriptions","organizations_url":"https://api.github.com/users/willysr/orgs","repos_url":"https://api.github.com/users/willysr/repos","events_url":"https://api.github.com/users/willysr/events{/privacy}","received_events_url":"https://api.github.com/users/willysr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-13T10:08:28Z","updated_at":"2016-10-13T21:16:14Z","closed_at":"2016-10-13T21:16:14Z","body":"sbopkg support building package using queue files which can be generated manually or via sqg.\r\n\r\nHowever, when building a package while passing some build option, such as\r\nsbopkg -R -k -i \"aMule:WEBSERVER=yes\"\r\nit will not prompt for queue option and it will ask to build normally or using command line option\r\n\r\nThe problem is because the code is evaluating those options sequentially\r\n\r\n```\r\n            if [[ $CLI_OPTIONS ]]; then\r\n                echo \"Command line options: $CLI_OPTIONS\"\r\n                CLI_OPT=\" (C)ommand line options,\"\r\n            fi\r\n            if [[ $TMPOPTIONS ]]; then\r\n                echo \"Saved options: $TMPOPTIONS\"\r\n                SAVEDOPT=\" (S)aved,\"\r\n            fi\r\n            if [[ $LDOPTIONS ]]; then\r\n                echo \"Queuefile options: $LDOPTIONS\"\r\n                QUEUEOPT=\" (Q)ueuefile,\"\r\n            fi\r\n```"}}
{"actor":{"display_login":"willysr"}}