makepkg: fix syntax error in remove_deps
This fixes a problem that occurs if you tell makepkg to remove installed dependencies (just to be sure) but there are none. As the $ was missing in front of deplist, the check never happened and 'pacman -Rn' was called which obviously failed. Dan: later reported as FS#28448. Signed-off-by: Christoph Vigano <mail@cvigano.de> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
6c78f0d560
commit
edd81f3e8b
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ remove_deps() {
|
||||||
local deplist
|
local deplist
|
||||||
deplist=($(grep -xvFf <(printf "%s\n" "${original_pkglist[@]}") \
|
deplist=($(grep -xvFf <(printf "%s\n" "${original_pkglist[@]}") \
|
||||||
<(printf "%s\n" "${current_pkglist[@]}") || true))
|
<(printf "%s\n" "${current_pkglist[@]}") || true))
|
||||||
if [[ -z deplist ]]; then
|
if [[ -z $deplist ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue