[BUGFIX] cd must be in subshell, otherwise breaks later

Due to wrong WD

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-01-16 14:44:59 +01:00
parent 582018adbb
commit b8b0ca107a
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ while [ "${i}" -lt "${no_sources}" ]; do
#
# check for existence / use real name
#
pcmd cd "$ddir" || _exit_err "Cannot change to ${ddir}. Skipping."
( pcmd cd "$ddir" ) || _exit_err "Cannot change to ${ddir}. Skipping."
#