From a4be9a729a445055e6777cf517b2bba04d073094 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 17 Apr 2016 15:40:10 +0100 Subject: try to move some functions to helper scripts --- libvasile-kogaion | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libvasile-kogaion') diff --git a/libvasile-kogaion b/libvasile-kogaion index 47b1510..59baf9c 100755 --- a/libvasile-kogaion +++ b/libvasile-kogaion @@ -95,9 +95,7 @@ chrootbuildsystem () { echo "injecting "$releasename" buildsystem && setting up portage" echo "" sleep 1 - for cmd in "$chrootbuildgit" "$chrootportageconfig" "$chrootmakeconf" "$chrootprofile" "$chrootenvupdate" ; do - chroot "$overlaydir" su - "$chrootuser" -c "$cmd" - done + chroot "$overlaydir" su - "$chrootuser" -c "$chrootbuildgit" } chrootbuild () { @@ -165,9 +163,7 @@ isobuildsystem () { echo "injecting "$releasename" buildsystem && setting up portage" echo "" sleep 1 - for cmd in "$isobuildgit" "$isoportageconfig" "$isomakeconf" "$isoprofile" "$isoenvupdate" ; do - chroot "$isosyncdir" su - "$isouser" -c "$cmd" - done + chroot "$isosyncdir" su - "$isouser" -c "$isobuildgit" } isoramfs () { -- cgit v1.2.3