summaryrefslogtreecommitdiff
path: root/src/install.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-01-14 22:45:11 +0000
committerdavidovski <david@davidovski.xyz>2023-01-14 22:45:11 +0000
commit6d05aeed3a6ee0e9443838e5ba85dee76e0b9e37 (patch)
tree8c2bcbfed5470832f37f68ea6cf9692a0f62a0b2 /src/install.sh
parent9019894c1db1a36941c66cfd1a3a557103b7495e (diff)
Allow no deps for building
Diffstat (limited to 'src/install.sh')
-rw-r--r--src/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.sh b/src/install.sh
index 5d3c2e7..6f5503c 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -22,7 +22,7 @@ install_package () {
[ ! -d $installed_dir ] && mkdir -p "$installed_dir"
[ -f "$files" ] && {
- for read -r file; do
+ while read -r file; do
[ -z "${file%%/etc*}" ] ||
rm -f ${SYSROOT}$file
done < $files