Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/bin/sage-spkg: Remove error message when checksums.ini does not…
Browse files Browse the repository at this point in the history
… exist (script package)
  • Loading branch information
Matthias Koeppe committed Jul 21, 2022
1 parent 20ddd7e commit 25d38e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/bin/sage-spkg
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,10 @@ else
PKG_NAME="${PKG_BASE}-${PKG_VER}"
fi
PKG_BASE_VER=`echo $PKG_VER | sed 's/\.p[0-9][0-9]*$//'`
PKG_NAME_UPSTREAM=`lookup_param tarball "$PKG_SCRIPTS/checksums.ini" | sed "s/VERSION/$PKG_BASE_VER/"`
if [ -f "$PKG_SCRIPTS/checksums.ini" ]; then
# Normal package
PKG_NAME_UPSTREAM=`lookup_param tarball "$PKG_SCRIPTS/checksums.ini" | sed "s/VERSION/$PKG_BASE_VER/"`
fi

# Warning for experimental packages
if [ x`cat "$PKG_SCRIPTS/type"` = x"experimental" -a $INFO = 0 ]; then
Expand Down

0 comments on commit 25d38e9

Please sign in to comment.