standalone executable

This commit is contained in:
6543
2018-05-11 00:04:02 +02:00
parent 401abf1f4b
commit 2513b645c1
20 changed files with 35 additions and 52 deletions

View File

@ -23,7 +23,7 @@ function chroot_sh() {
chroot "$chroot_dir" /bin/bash --login -c ". /tmp/env.sh; $command"
}
#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
chroot_sh $@
}