mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-28 11:00:38 +00:00
scripts/clean: fixup previous commit
This commit is contained in:
parent
82fab60220
commit
73795e4d8f
@ -48,13 +48,10 @@ clean_package() {
|
||||
if [ "$1" = "--all" ]; then
|
||||
if [ ! -z "$2" ]; then
|
||||
for PROJECT in $(ls -1 projects); do
|
||||
for archfile in projects/$PROJECT/linux/linux.*.conf ; do
|
||||
for archfile in projects/$PROJECT/linux/linux.*.conf; do
|
||||
if [ ! -f "$archfile" ]; then
|
||||
for archfile in projects/$PROJECT/linux/*/linux.*.conf ; do
|
||||
archfile=$archfile
|
||||
done
|
||||
archfile="$(ls -1 projects/$PROJECT/linux/*/linux.*.conf | head -1)"
|
||||
fi
|
||||
echo $archfile
|
||||
ARCH=`echo $archfile | sed -n '$s/\.conf//;$s/.*\.//p'`
|
||||
PROJECT=$PROJECT ARCH=$ARCH ./scripts/clean $2
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user