From fc4abb006c58c2cc2a16a5287cebd4402176c981 Mon Sep 17 00:00:00 2001 From: Thorn Inurcide Date: Tue, 18 Jul 2017 22:07:16 -0500 Subject: [PATCH] Remove unneeded code Removed the machine.conf code. Didn't even know what this was for the longest time and still have no idea how to even make the file. --- get-source.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/get-source.sh b/get-source.sh index aaeeb99..fc08680 100755 --- a/get-source.sh +++ b/get-source.sh @@ -64,13 +64,7 @@ SOURCE=$SRCDIR/${PRGNAM}-${VERSION}.${ARCHIVE_TYPE:-"tar.bz2"} # SRCURL for non-TDE archives, set in the SB, will override the Trinity default *tar.bz2 URL SRCURL=${SRCURL:-"http://$TDE_MIRROR/releases/${VERSION}$TDEMIR_SUBDIR/${PRGNAM}-${VERSION}.tar.bz2"} -# You can use your own private machine.conf file to overrule machine defaults: -if [ -e $SRCDIR/machine.conf ]; then - . $SRCDIR/machine.conf -elif [ -e /etc/slackbuild/machine.conf ]; then - . /etc/slackbuild/machine.conf -else - # Automatically determine the architecture we're building on: +# Automatically determine the architecture we're building on: MARCH=$( uname -m ) # uname -m will give the wrong architecture if 32bit with 64bit kernel [[ $MARCH == "x86_64" ]] && ! [[ -d /lib64 ]] && MARCH="i586" @@ -102,7 +96,6 @@ else SLKLDFLAGS=${SLKLDFLAGS:-""}; LIBDIRSUFFIX=${LIBDIRSUFFIX:-""} ;; esac -fi case "$ARCH" in arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;