diff options
Diffstat (limited to 'kile/kile.SlackBuild')
-rwxr-xr-x | kile/kile.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kile/kile.SlackBuild b/kile/kile.SlackBuild index 576e1e68..dde5a4ea 100755 --- a/kile/kile.SlackBuild +++ b/kile/kile.SlackBuild @@ -64,11 +64,11 @@ fi # ---------------- Download fontes ---------------------- # Fonte a ser compilada, com o path -SOURCE=$SRC_DIR/$SRC +SOURCE=$SRC_DIR/$PACKGE/$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" @@ -78,7 +78,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" |