summaryrefslogtreecommitdiffstats
path: root/ch
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-06-03 12:28:41 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-06-03 12:28:41 +0200
commit3774c0948ac1216765c15ede8839f52f5fb9e7b9 (patch)
tree4b1d16df352b36cf141c8731baa37cfa3cf4b142 /ch
parent7fba334e4fe21133141125ac77185ab9a0b22f2c (diff)
downloadbin-3774c0948ac1216765c15ede8839f52f5fb9e7b9.tar.gz
bin-3774c0948ac1216765c15ede8839f52f5fb9e7b9.tar.xz
misc changes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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() {