When ar is asked to act on a file whose path includes the '~' character, ar
rejects this with a syntax error. E.g.:
(echo create
/build/buildd/u-boot-linaro-2010.09~rc1.1/debian/build/omap4_panda/post/libpost.a;
for lib in ; \
do echo addlib $lib; done; echo save) \
| ar -M
~Syntax error in archive script, line 1
This bug was identified using u-boot, but it's probably reproducible with any
number of pieces of software if built in a parent directory with the appropriate
characteristics.
When ar is asked to act on a file whose path includes the '~' character, ar
rejects this with a syntax error. E.g.:
(echo create buildd/ u-boot- linaro- 2010.09~ rc1.1/debian/ build/omap4_ panda/post/ libpost. a;
/build/
for lib in ; \
do echo addlib $lib; done; echo save) \
| ar -M
~Syntax error in archive script, line 1
This bug was identified using u-boot, but it's probably reproducible with any
number of pieces of software if built in a parent directory with the appropriate
characteristics.
Patch to follow.