summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2018-12-23 18:24:41 -0800
committerFred Wright <fw@fwright.net>2018-12-23 18:39:04 -0800
commitffff77fd94cb5612339215caae3c2edc55def84d (patch)
treeeb7bdeec8b830f9c981b5c2672b7b3771f584b2b /SConstruct
parente4779bf305a270380f4a33be77fb6200deb11517 (diff)
downloadgpsd-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--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index d763e512..76d67a06 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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',
])