Skip to content

updsvnrev.sh is not fully portable #172

@GoogleCodeExporter

Description

@GoogleCodeExporter
The script updsvnrev.sh, which detects the current revision number fails on 
systems, where sh doesn't point to bash (like Ubuntu). The problem is that the 
script is called from Makefile using 'sh ...' (for compatibility with Windows 
with MinGW), ignoring the shebang in the script itself. Therefore, there is no 
simple way to specify that the script should be processed with bash.

This is not critical, since the compilation continues without the revision 
number. The possible solution is to replace all bash extensions in the script 
(not that much) by POSIX-compliant code.

Original issue reported on code.google.com by yurkin on 22 Aug 2013 at 9:17

Metadata

Metadata

Assignees

Labels

OS-LinuxRelated to all Linux/Unix systemscomp-ScriptsRelated to Makefiles, developer and testing scriptspri-MediumWorth assigning to a milestone

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions