mirror of
https://github.com/paulusmack/ppp.git
synced 2024-12-12 04:43:56 +08:00
get files from ../include/linux if not here
This commit is contained in:
parent
ec78dccdeb
commit
91d19fa519
@ -115,6 +115,14 @@ newer () {
|
|||||||
|
|
||||||
installfile () {
|
installfile () {
|
||||||
BASE=`basename $1`
|
BASE=`basename $1`
|
||||||
|
if [ ! -e $BASE ]; then
|
||||||
|
if [ -e ../include/linux/$BASE ]; then
|
||||||
|
BASE=../include/linux/$BASE
|
||||||
|
else
|
||||||
|
echo Could not find source file $BASE !
|
||||||
|
false ; return
|
||||||
|
fi
|
||||||
|
fi
|
||||||
if newer $1 $BASE; then
|
if newer $1 $BASE; then
|
||||||
echo $1 is not older than $BASE, skipping
|
echo $1 is not older than $BASE, skipping
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user