summaryrefslogtreecommitdiffstats
path: root/source/a/tar/tar.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-09-18 19:22:30 +0000
committer Eric Hameleers <alien@slackware.com>2018-09-19 09:00:33 +0200
commita22d1843900f65ede3f87d55207ca0b8f2a38b98 (patch)
tree2a80883ce31d38a325747f2d3b7596f19a647d35 /source/a/tar/tar.SlackBuild
parent77f4f1f5e6332a7c51dad716aba3ff2b03dc8d8a (diff)
downloadcurrent-a22d1843900f65ede3f87d55207ca0b8f2a38b98.tar.gz
current-a22d1843900f65ede3f87d55207ca0b8f2a38b98.tar.xz
Tue Sep 18 19:22:30 UTC 201820180918192230
ap/dmidecode-3.2-x86_64-1.txz: Upgraded. ap/nano-3.1-x86_64-1.txz: Upgraded. ap/slackpkg-2.83.0-noarch-4.txz: Rebuilt. Merged two patches from git: Clarify that a press of "Enter" is needed to confirm kernel change Mention possible stale mirror if CHECKSUMS.md5 gpg verify fails Thanks to Mario Preksavec and Robby Workman. ap/sqlite-3.25.0-x86_64-1.txz: Upgraded. ap/xorriso-1.5.0-x86_64-1.txz: Upgraded. l/lmdb-0.9.22-x86_64-2.txz: Rebuilt. Fixed the build script to clear out the build area properly - previously it was possible for binaries of the wrong $ARCH to end up in the package. Thanks to reddog83. n/gnutls-3.6.3-x86_64-2.txz: Rebuilt. Merged backported SSL/TLS fixes. Thanks to orbea. n/samba-4.9.0-x86_64-2.txz: Rebuilt. Recompiled in case the lmdb package was broken.
Diffstat (limited to 'source/a/tar/tar.SlackBuild')
-rwxr-xr-xsource/a/tar/tar.SlackBuild20
1 files changed, 1 insertions, 19 deletions
diff --git a/source/a/tar/tar.SlackBuild b/source/a/tar/tar.SlackBuild
index 3b21c7a8b..6c97c24e6 100755
--- a/source/a/tar/tar.SlackBuild
+++ b/source/a/tar/tar.SlackBuild
@@ -51,25 +51,7 @@ TMP=${TMP:-/tmp}
PKG=$TMP/package-tar
# Don't use icecream:
-for path_element in $(echo $PATH | tr ':' '\n') ; do
- if [ "$path_element" = "/usr/libexec/icecc/bin" ]; then
- continue
- fi
- if [ -z "$REVERSE_PATH" ]; then
- REVERSE_PATH="$path_element"
- else
- REVERSE_PATH="${REVERSE_PATH}:$path_element"
- fi
-done
-for path_element in $(echo $REVERSE_PATH | tr ':' '\n') ; do
- if [ -z "$FORWARD_PATH" ]; then
- FORWARD_PATH="$path_element"
- else
- FORWARD_PATH="${FORWARD_PATH}:$path_element"
- fi
-done
-PATH=$FORWARD_PATH
-unset FORWARD_PATH REVERSE_PATH
+PATH=$(echo $PATH | sed "s|/usr/libexec/icecc/bin||g" | tr -s : | sed "s/^://g" | sed "s/:$//g")
rm -rf $PKG
mkdir -p $TMP $PKG