summaryrefslogtreecommitdiffstats
path: root/ch
diff options
context:
space:
mode:
Diffstat (limited to 'ch')
-rwxr-xr-xch4
1 files changed, 2 insertions, 2 deletions
diff --git a/ch b/ch
index cc760c5..5d5489e 100755
--- a/ch
+++ b/ch
@@ -110,10 +110,10 @@ chbuild() {
chinstall() {
__chrootalias $1 || return; shift
for file in "$@"; do
- files+=("$(readlink -f "$file")")
+ files+=(-I "$(readlink -f "$file")")
done
cd /var/empty
- linux${chroot_arch} sudo makechrootpkg -l "${copydir##*/}" -r "$chrootdir" -I "${files[@]}"
+ linux${chroot_arch} sudo makechrootpkg -l "${copydir##*/}" -r "$chrootdir" "${files[@]}"
}
chclean() {