summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-09-12 21:55:47 +0000
committerKarl Berry <karl@freefriends.org>2008-09-12 21:55:47 +0000
commit4f5098a1ccbaa0b695f92d8d7c20faece7698ed7 (patch)
treefdebb1bf26d82a239bea8a61a8b2296b18be7920 /Master
parent6883a7664db388676e09ace0542b2cffe4e081b3 (diff)
(conv_to_win_path): die if `cd` returns the empty
string for whatever unknown Windows reason. git-svn-id: svn://tug.org/texlive/trunk@10582 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 46f50c41b8d..c96fad10358 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -1647,6 +1647,7 @@ sub conv_to_win_path {
# we need absolute pathes, too
if ($p !~ m!^.:!) {
my $cwd = `cd`;
+ die "sorry, could not find current working directory via cd?!" if ! $cwd;
chomp($cwd);
$p = "$cwd\\$p";
}