From 40a365d8ebd9067c0b6ce5349c7f98fce5957458 Mon Sep 17 00:00:00 2001 From: Matteo Rossini Date: Mon, 2 Sep 2013 17:30:57 +0200 Subject: [PATCH] fixed bug on file:. --- src/slackpkg+.SlackBuild | 2 +- src/slackpkgplus.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slackpkg+.SlackBuild b/src/slackpkg+.SlackBuild index 13a8e1d..243242b 100644 --- a/src/slackpkg+.SlackBuild +++ b/src/slackpkg+.SlackBuild @@ -3,7 +3,7 @@ set -e VERSION=$(head -1 ChangeLog.txt|awk '{print $2}') -BUILD=1mt +BUILD=${BUILD:-1mt} CWD=`pwd` TMP=${TMP:-/tmp} diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh index da126b3..e80d502 100755 --- a/src/slackpkgplus.sh +++ b/src/slackpkgplus.sh @@ -502,7 +502,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then ( cd $localpath ls -ld *.t[blxg]z|tac|grep ^-|awk '{print "./SLACKPKGPLUS_'$repository'/"$NF}'|awk -f /usr/libexec/slackpkg/pkglist.awk >> ${TMPDIR}/pkglist-pre ) - MIRRORPLUS[$repository]="file:/$localpath" + MIRRORPLUS[$repository]="file:/$localpath/" PRIORITYLIST=( ${PRIORITYLIST[*]} SLACKPKGPLUS_${repository}:.* ) REPOPLUS=( ${repository} ${REPOPLUS[*]} ) package=SLACKPKGPLUS_$repository