Lines 202-207
Link Here
|
202 |
|
202 |
|
203 |
# called from cvs_src_unpack |
203 |
# called from cvs_src_unpack |
204 |
cvs_fetch() { |
204 |
cvs_fetch() { |
|
|
205 |
has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX= |
205 |
|
206 |
|
206 |
# Make these options local variables so that the global values are |
207 |
# Make these options local variables so that the global values are |
207 |
# not affected by modifications in this function. |
208 |
# not affected by modifications in this function. |
Lines 392-398
Link Here
|
392 |
|
393 |
|
393 |
export CVS_RSH="${T}/cvs_sshwrapper" |
394 |
export CVS_RSH="${T}/cvs_sshwrapper" |
394 |
cat > "${CVS_RSH}"<<EOF |
395 |
cat > "${CVS_RSH}"<<EOF |
395 |
#!/usr/bin/python |
396 |
#!${EPREFIX}/usr/bin/python |
396 |
import fcntl |
397 |
import fcntl |
397 |
import os |
398 |
import os |
398 |
import sys |
399 |
import sys |
Lines 436-442
Link Here
|
436 |
>> "${CVS_RSH}" |
437 |
>> "${CVS_RSH}" |
437 |
echo "${CVS_ECLASS_STRICT_HOST_CHECKING}')" \ |
438 |
echo "${CVS_ECLASS_STRICT_HOST_CHECKING}')" \ |
438 |
>> "${CVS_RSH}" |
439 |
>> "${CVS_RSH}" |
439 |
echo "os.execv('/usr/bin/ssh', newarglist)" \ |
440 |
echo "os.execv('${EPREFIX}/usr/bin/ssh', newarglist)" \ |
440 |
>> "${CVS_RSH}" |
441 |
>> "${CVS_RSH}" |
441 |
|
442 |
|
442 |
chmod a+x "${CVS_RSH}" |
443 |
chmod a+x "${CVS_RSH}" |