[pacman-dev] [PATCH] makepkg: use type -p's return value for PATH checks
Andres P
aepd87 at gmail.com
Thu May 27 10:59:12 EDT 2010
On Thu, May 27, 2010 at 10:27 AM, Cedric Staniewski <cedric at gmx.ca> wrote:
> On 27.05.2010 16:46, Andres P wrote:
>> @@ -1921,7 +1921,7 @@ if (( NODEPS || ( (NOBUILD || REPKG) && !DEP_BIN ) )); then
>> if (( NODEPS || ( REPKG && PKGFUNC ) )); then
>> warning "$(gettext "Skipping dependency checks.")"
>> fi
>> -elif [ $(type -p "${PACMAN%% *}") ]; then
>> +elif type -p "${PACMAN%% >/dev/null *}"; then
>> if (( RMDEPS )); then
>> original_pkglist=($(run_pacman -Qq | sort)) # required by remove_dep
>> fi
>
> This line needs to be fixed before applying it.
>
>
thats what i get for patching with sed :p
thanks for noticing, ill send a new patch soon
--
Andres P
More information about the pacman-dev
mailing list