Bashism in tools/get_revision_number, revision 12348

Michael Banck mba... at debian.org
Mon Sep 3 23:32:55 UTC 2012


Hi,

Revision 12348 introduced a check for REVISION, which includes a '[['
bashism while using '#!/bin/sh' as shebang, resulting in an error on
systems with e.g. dash as default shell (like Ubuntu):

/org/data/mbanck/tmp/cp2k-2.3/makefiles/../tools/get_revision_number: 9:
[[: not found


Cheers,

Michael



More information about the CP2K-user mailing list