[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:
parent
582018adbb
commit
b8b0ca107a
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue