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