summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index dcc32343..193a1853 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -286,11 +286,10 @@ check_buildenv() {
# ? - not found
##
in_opt_array() {
- local needle=$(tr '[:upper:]' '[:lower:]' <<< $1); shift
+ local needle=$1; shift
local opt
for opt in "$@"; do
- opt=$(tr '[:upper:]' '[:lower:]' <<< $opt)
if [[ $opt = $needle ]]; then
echo 'y' # Enabled
return
@@ -578,7 +577,6 @@ generate_checksums() {
local integ
for integ in ${integlist[@]}; do
- integ=$(tr '[:upper:]' '[:lower:]' <<< "$integ")
case "$integ" in
md5|sha1|sha256|sha384|sha512) : ;;
*)