summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-05-06 17:23:52 +0000
committerKarl Berry <karl@freefriends.org>2011-05-06 17:23:52 +0000
commitbdad4f4c9d02feafe056e9a933ce04e0b06ea8a7 (patch)
tree6044e2ef1e9396ce836c70b3793dda10cefcf3c6
parent242bc4447b3654c2c4fbdb2dc49240e5eee3645c (diff)
(platform): 'quote' $config_guess path so that
spaces in the path don't cause an immediate failure. Report from Artemio Gonzalez Lopez, 28 Apr 2011 23:57:38. git-svn-id: svn://tug.org/texlive/trunk@22329 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index dc02e60ae70..e4ada1c3b65 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -222,7 +222,7 @@ sub platform {
# We cannot rely on #! in config.guess but have to call /bin/sh
# explicitly because sometimes the 'noexec' flag is set in
# /etc/fstab for ISO9660 file systems.
- chomp (my $guessed_platform = `/bin/sh $config_guess`);
+ chomp (my $guessed_platform = `/bin/sh '$config_guess'`);
# For example, if the disc or reader has hardware problems.
die "$0: could not run $config_guess, cannot proceed, sorry"