summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2016-04-12 06:14:02 +0000
committerNorbert Preining <preining@logic.at>2016-04-12 06:14:02 +0000
commita896b8c6393b46dc12372f136b6285e0d83739ae (patch)
tree5aaf434e57307e091f5fa86072c7b05876ecbf7d
parent9aaa942b2a46869bc145bf2d1c068bedf90c8024 (diff)
xsystem call in one line - otherwise shell expansion strange
git-svn-id: svn://tug.org/texlive/trunk@40462 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/tlpkg/bin/tl-update-containers6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/tlpkg/bin/tl-update-containers b/Master/tlpkg/bin/tl-update-containers
index f06075aaa38..68eef30b952 100755
--- a/Master/tlpkg/bin/tl-update-containers
+++ b/Master/tlpkg/bin/tl-update-containers
@@ -386,9 +386,9 @@ sub main
if (chdir("$opt_location/tlpkg/")) {
xsystem("md5sum texlive.tlpdb > texlive.tlpdb.md5");
xsystem("$TeXLive::TLConfig::ChecksumProgram texlive.tlpdb > texlive.tlpdb.$TeXLive::TLConfig::ChecksumExtension");
- xsystem("gpg --homedir /home/texlive/.gnupg \
- --passphrase-file /home/texlive/.gnupg/passphrase \
- --armor --detach-sign --local-user 0x06BAB6BC texlive.tlpdb.$TeXLive::TLConfig::ChecksumExtension");
+ # the following somehow needs to be on one line, otherwise the shell
+ # expansion is strange!
+ xsystem("gpg --homedir /home/texlive/.gnupg --passphrase-file /home/texlive/.gnupg/passphrase --armor --detach-sign --local-user 0x06BAB6BC texlive.tlpdb.$TeXLive::TLConfig::ChecksumExtension");
xchdir($olddir);
} else {
tlwarn("chdir($opt_location/tlpkg/) for md5/checksum creation failed\n: $?");