mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Make packages without tarball sources work nicely
When there are no directories extracted, use the base build/ directory as the build directory.
This commit is contained in:
parent
af23ad1607
commit
f7672536e0
1 changed files with 4 additions and 0 deletions
|
|
@ -405,6 +405,10 @@ default_src_unpack() {
|
|||
fi
|
||||
done
|
||||
fi
|
||||
if ! [ -e "${dirname}" ]; then
|
||||
# there are no directories extracted
|
||||
dirname=.
|
||||
fi
|
||||
# shellcheck disable=SC2162
|
||||
tail -n +2 ../sources | while read line; do
|
||||
# shellcheck disable=SC2086
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue