scripts: add comment to clarify usage

This commit is contained in:
MilhouseVH 2017-03-23 14:59:46 +00:00
parent 0647fa703b
commit aa343ae3bf
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ clean_package() {
return
fi
# Use a wilcard here to remove all versions of the package
for i in $BUILD/$1-*; do
if [ -d $i -a -f "$i/.libreelec-unpack" ] ; then
. "$i/.libreelec-unpack"

View File

@ -39,6 +39,7 @@ mkdir -p $BUILD
STAMP_DEPENDS="$PKG_DIR $PKG_NEED_UNPACK $PROJECT_DIR/$PROJECT/patches/$PKG_NAME"
[ -n "$DEVICE" ] && STAMP_DEPENDS="$STAMP_DEPENDS $PROJECT_DIR/$PROJECT/devices/$DEVICE/patches/$PKG_NAME"
# Perform a wildcard match on the package to ensure old versions are cleaned too
for i in $BUILD/$1-*; do
if [ -d $i -a -f "$i/.libreelec-unpack" ] ; then
. "$i/.libreelec-unpack"