From cdbb8c7128a18c0f930802bc02f3dedc02d78000 Mon Sep 17 00:00:00 2001 From: rudson Date: Tue, 31 Oct 2006 15:10:49 +0000 Subject: correção do path das fontes nos slackbuilds: qemu, broffice, scilab, lame, skype, kile, kqemu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@555 370017ae-e619-0410-ac65-c121f96126d4 --- scilab/scilab.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scilab') diff --git a/scilab/scilab.SlackBuild b/scilab/scilab.SlackBuild index a9aa78f9..4a374ff1 100755 --- a/scilab/scilab.SlackBuild +++ b/scilab/scilab.SlackBuild @@ -63,11 +63,11 @@ fi # ---------------- Download fontes ---------------------- # Fonte a ser compilada, com o path -SOURCE=$SRC_DIR/$SRC +SOURCE=$SRC_DIR/$PACKAGE/$SRC # Verifica existência do pacote em $SRC em $SRC_DIR if [ ! -e $SOURCE ]; then echo -e "\n\n\033[01;32m Download $PACKAGE \n\033[m" - wget "$URL" -P "$SRC_DIR/" + wget "$URL" -P "$SRC_DIR/$PACKAGE/" # Verifica se o if [ $? -ne 0 ]; then echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m" @@ -77,7 +77,7 @@ fi # ------------------ Checa md5sum ----------------------- if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then - SUM=`md5sum $SRC_DIR/$SRC | awk '{print $1}'` + SUM=`md5sum $SOURCE | awk '{print $1}'` if [ "$SUM" != "$MD5" ]; then echo -e "\n\n\033[01;31m MD5SUM error: run Slackbuild again \n\033[m" echo -e "\033[01;31m Remove $PACKAGE from $SRC_DIR and start Slackbuild again or use MD5=\"no\" \n\033[m" -- cgit v1.2.3