Skip to content

Commit b8f2946

Browse files
authored
Refactor install.sh
1 parent 5b10ffb commit b8f2946

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

install.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
# One parameter gcc = build gcc only (end setup will be for gcc)
33
# One parameter clang = build clang only (end setup will be for clang)
44

5-
pacman -S dos2unix --noconfirm
6-
pacman -S pactoys --noconfirm
7-
pacboy -S binutils --noconfirm
8-
9-
rm -rf packages
10-
mkdir packages
11-
125
rename() {
136
# First parameter is package name
147
# Second parameter is file pattern
@@ -63,6 +56,13 @@ build_install() {
6356
cd ..
6457
}
6558

59+
pacman -S dos2unix --noconfirm
60+
pacman -S pactoys --noconfirm
61+
pacboy -S binutils --noconfirm
62+
63+
rm -rf packages
64+
mkdir packages
65+
6666
echo "Building common libraries"
6767
package_names=(spidermonkey pcaudiolib espeak-ng SDL)
6868
for packagename in "${package_names[@]}"; do

0 commit comments

Comments
 (0)