summaryrefslogtreecommitdiffstats
path: root/build_tools/go.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/go.sh')
-rwxr-xr-xbuild_tools/go.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build_tools/go.sh b/build_tools/go.sh
index b776ee1..ccdfa94 100755
--- a/build_tools/go.sh
+++ b/build_tools/go.sh
@@ -1,8 +1,9 @@
#!/bin/bash
+. /etc/makepkg.conf
clear
cd clarch || exit 1
declare -a menuarray
-menuarray=( ` ls larch/profiles/`)
+menuarray=( `ls larch/profiles/ |grep $CARCH`)
echo ${array1[@]}
element_count=${#menuarray[*]}