mirror of
https://codeberg.org/gwh/slackbuilds.git
synced 2024-11-16 19:51:19 +01:00
fixes
This commit is contained in:
parent
5ab281b3b1
commit
900666b4c1
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ OUTPUT=/tmp
|
|||
|
||||
NUMJOBS=${NUMJOBS:-" -j4 "}
|
||||
|
||||
SRC_URL="http://www.kernel.org/pub/linux/kernel/v$(echo \"$VERSION\" | sed 's|\([0-9]*\.[0-9]*\).*|\1|')$(echo \"$VERSION\" | grep -q \"\-rc\" && echo \"/testing\" )"
|
||||
SRC_URL="https://cdn.kernel.org/pub/linux/kernel/v4.x"
|
||||
|
||||
rm -fr $PKG
|
||||
if [ $CLEAN_SRC != "NO" ] ; then
|
||||
|
@ -26,7 +26,7 @@ if [ $CLEAN_SRC != "NO" ] ; then
|
|||
fi
|
||||
|
||||
if [ $CLEAN_SRC != "NO" ]; then
|
||||
[ ! -e $CWD/linux-$VERSION.tar.?z* ] && wget -c "$SRC_URL/linux-$VERSION.tar.bz2" -O $CWD/linux-$VERSION.tar.xz
|
||||
[ ! -e $CWD/linux-$VERSION.tar.?z* ] && wget -c "$SRC_URL/linux-$VERSION.tar.xz" -O $CWD/linux-$VERSION.tar.xz
|
||||
[ ! -e $SOURCES ] && mkdir -p $SOURCES
|
||||
tar xf $CWD/linux-$VERSION.tar.?z* -C $SOURCES
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue