fix: bash multiple files redirection
This commit is contained in:
parent
9133d8d312
commit
f34090294e
@ -2,5 +2,4 @@
|
||||
cd "$(dirname "$0")"
|
||||
. ./config
|
||||
|
||||
arch-chroot /mnt/ su "$username" -c bash -ex \
|
||||
< src/dotfiles.sh
|
||||
cat src/dotfiles.sh | arch-chroot /mnt/ su "$username" -c bash -ex
|
||||
|
@ -1,7 +1,4 @@
|
||||
#!/bin/bash -e
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
arch-chroot /mnt/ bash -ex \
|
||||
< ../../src/lib.sh \
|
||||
< config \
|
||||
< src/install.sh
|
||||
cat config ../../src/lib.sh src/install.sh | arch-chroot /mnt/ bash -ex
|
||||
|
@ -1,7 +1,4 @@
|
||||
#!/bin/bash -ex
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
arch-chroot /mnt/ bash -ex \
|
||||
< config \
|
||||
< ../src/lib.sh \
|
||||
< src/install.sh
|
||||
cat config ../src/lib.sh src/install.sh | arch-chroot /mnt/ bash -ex
|
||||
|
@ -30,7 +30,4 @@ pacstrap -K --needed /mnt/ "${pkg[@]}"
|
||||
cp -rfT rootfs/ /mnt/
|
||||
genfstab -U /mnt/ >> /mnt/etc/fstab
|
||||
|
||||
arch-chroot /mnt/ bash -ex \
|
||||
< config \
|
||||
< src/lib.sh \
|
||||
< src/install.sh
|
||||
cat config src/lib.sh src/install.sh | arch-chroot /mnt/ bash -ex
|
||||
|
Loading…
Reference in New Issue
Block a user