diff options
author | Fred Wright <fw@fwright.net> | 2018-12-23 18:24:41 -0800 |
---|---|---|
committer | Fred Wright <fw@fwright.net> | 2018-12-23 18:39:04 -0800 |
commit | ffff77fd94cb5612339215caae3c2edc55def84d (patch) | |
tree | eb7bdeec8b830f9c981b5c2672b7b3771f584b2b /SConstruct | |
parent | e4779bf305a270380f4a33be77fb6200deb11517 (diff) | |
download | gpsd-ffff77fd94cb5612339215caae3c2edc55def84d.tar.gz |
Fixes symlink handling in tarball creation.
The --transform pattern was prepending gpsd-<version> to the targets
of the relative symlinks, which is completely wrong. Fortunately, the
'S' flag in --transform is available to suppress that behavior.
TESTED:
Verified that the new tarball has correct symlinks, and no unexpected
differences from the old one.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2592,7 +2592,7 @@ if os.path.exists("gpsd.c") and os.path.exists(".gitignore"): # How to build a tarball. dist = env.Command('dist', distfiles, [ - '@tar --transform "s:^:gpsd-${VERSION}/:" ' + '@tar --transform "s:^:gpsd-${VERSION}/:S" ' ' -czf gpsd-${VERSION}.tar.gz $SOURCES', '@ls -l gpsd-${VERSION}.tar.gz', ]) |