Fix -D in package()
When entering fakeroot makepkg calls itself with it's original args causing it to cd again and error
This commit is contained in:
parent
331b277eea
commit
917b67f5d1
1 changed files with 1 additions and 1 deletions
|
@ -1027,7 +1027,7 @@ while [[ $1 ]]; do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ -n $CHDIR ]]; then
|
if (( ! INFAKEROOT )) && [[ -n $CHDIR ]]; then
|
||||||
cd_safe "$CHDIR"
|
cd_safe "$CHDIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue