Merge branch 'master' of github.com:gwenhael-le-moine/slackbuilds into master
This commit is contained in:
commit
2a9b9ca150
1 changed files with 6 additions and 6 deletions
|
@ -3,8 +3,8 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
|
THIS_HOST=$(hostname -s)
|
||||||
PRGNAM=$(basename $CWD)-$(hostname -s)
|
PRGNAM=$(basename $CWD)-$THIS_HOST
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
BRANCH=${BRANCH:-mainline} # stable ; mainline
|
BRANCH=${BRANCH:-mainline} # stable ; mainline
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
|
@ -40,11 +40,11 @@ cd $PKG/usr/src/
|
||||||
ln -s linux-$VERSION linux
|
ln -s linux-$VERSION linux
|
||||||
cd linux-$VERSION
|
cd linux-$VERSION
|
||||||
|
|
||||||
if [ -e $CWD/config-$(hostname -s)-$VERSION ] ; then
|
if [ -e $CWD/config-$THIS_HOST-$VERSION ] ; then
|
||||||
cp $CWD/config-$(hostname -s)-$VERSION .config
|
cp $CWD/config-$THIS_HOST-$VERSION .config
|
||||||
else
|
else
|
||||||
if [ -e $CWD/config-$(hostname -s) ] ; then
|
if [ -e $CWD/config-$THIS_HOST ] ; then
|
||||||
cp $CWD/config-$(hostname -s) .config
|
cp $CWD/config-$THIS_HOST .config
|
||||||
else
|
else
|
||||||
zcat /proc/config.gz > .config
|
zcat /proc/config.gz > .config
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue