Skip to content

Commit 951f3b5

Browse files
committed
deb: fix Debian package build script
The Debian package build script incorrectly copies the containing directory to the destination tree rather than just the contents recursively. This means we end up with: usr └── local ├── bin │   ├── Atlassian.Bitbucket.UI -> ../share/gcm-core/Atlassian.Bitbucket.UI │   ├── git-credential-manager-core -> ../share/gcm-core/git-credential-manager-core │   └── GitHub.UI -> ../share/gcm-core/GitHub.UI └── share └── gcm-core ** ---> └── Release ├── Atlassian.Bitbucket.UI ├── git-credential-manager-core ├── GitHub.UI ├── libHarfBuzzSharp.so ├── libSkiaSharp.so └── NOTICE ..rather than: usr └── local ├── bin │   ├── Atlassian.Bitbucket.UI -> ../share/gcm-core/Atlassian.Bitbucket.UI │   ├── git-credential-manager-core -> ../share/gcm-core/git-credential-manager-core │   └── GitHub.UI -> ../share/gcm-core/GitHub.UI └── share └── gcm-core ├── Atlassian.Bitbucket.UI ├── git-credential-manager-core ├── GitHub.UI ├── libHarfBuzzSharp.so ├── libSkiaSharp.so └── NOTICE Since the symlinks are wrong, the installation is broken.
1 parent 7c4381c commit 951f3b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linux/Packaging.Linux/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Description: Cross Platform Git Credential Manager Core command line utility.
174174
EOF
175175

176176
# Copy all binaries and shared libraries to target installation location
177-
cp -R "$PAYLOAD" "$INSTALL_TO" || exit 1
177+
cp -R "$PAYLOAD"/* "$INSTALL_TO" || exit 1
178178

179179
# Create symlinks
180180
ln -s -r "$INSTALL_TO/git-credential-manager-core" \

0 commit comments

Comments
 (0)