]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- bashism fix
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 15 Mar 2010 22:19:31 +0000 (22:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.612

builder.sh

index bc171dd4035791587a320b0eccf38da25876b7d1..679c1a344819692cefab0e048d355837ece8278b 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/ksh
+#!/bin/sh
 #
 # This program is free software, distributed under the terms of
 # the GNU General Public License Version 2.
@@ -389,13 +389,13 @@ depspecname() {
 update_shell_title() {
        [ -t 1 ] || return
        local len=${COLUMNS:-80}
-       local msg=$(echo "$*" | cut -c-$len)
+       local msg="$(echo "$*" | cut -c-$len)"
 
        if [ -n "$BE_VERBOSE" ]; then
                echo >&2 "$(date +%s.%N) $*"
        fi
 
-       if [ "x$TITLECHANGE" == "xyes" -o "x$TITLECHANGE" == "x" ]; then
+       if [ "x$TITLECHANGE" = "xyes" -o "x$TITLECHANGE" = "x" ]; then
                local pkg
                if [ -n "$PACKAGE_NAME" ]; then
                        pkg=${PACKAGE_NAME}-${PACKAGE_VERSION}-${PACKAGE_RELEASE}
This page took 0.229655 seconds and 4 git commands to generate.