Does not work because file command changed its output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sqldeveloper-package (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Please, change line 381 of the make-sqldevelop
# Set executable bit
${FIND} "${OPTDIR}" ! \( -type d -o -name "*.jar" \) |${XARGS} ${XARGS_OPTS} ${FILE} ${FILE_OPTS} |${GREP} ${GREP_OPTS} "shell script text executable" |${CUT} ${CUT_OPTS_
To this:
${FIND} "${OPTDIR}" ! \( -type d -o -name "*.jar" \) |${XARGS} ${XARGS_OPTS} ${FILE} ${FILE_OPTS} |${GREP} ${GREP_OPTS} "shell script" |${GREP} ${GREP_OPTS} "text executable" |${CUT} ${CUT_OPTS_
Reason:
file command version 5.09-2 does not report shell scripts the way the above script is waiting. It reports like "POSIX shell script, ASCII text executable" or "Bourne-again shell script, ASCII text executable". So I splitted the one grep command into two grep commands.
Extra-info:
$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
$ apt-cache policy sqldeveloper-
sqldeveloper-
Instalado: 0.2.3+nmu1
Candidato: 0.2.3+nmu1
Tabela de versão:
*** 0.2.3+nmu1 0
500 http://
100 /var/lib/
The attachment "bug#998610.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]