]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - builder.sh
- kill few bashisms
[packages/rpm-build-tools.git] / builder.sh
index 61bafd51570a0013e7f0313dfd8babaf45175e94..b2934ecb076f6fcb4912fa645136044496531d4e 100644 (file)
@@ -748,7 +748,7 @@ get_spec() {
                        cvsignore_df .cvsignore
 
                        # add default log format to .cvsignore if it is relative
-                       if [ "$LOGFILE" == $(basename "$LOGFILE") ]; then
+                       if [ "$LOGFILE" = $(basename "$LOGFILE") ]; then
                                # substitute known "macros" to glob
                                local logfile=$(echo "$LOGFILE" | sed -e 's,\$\(PACKAGE_NAME\|DATE\),*,g')
                                if [ "$logfile" ]; then
@@ -1707,15 +1707,15 @@ spawn_sub_builder() {
        update_shell_title "spawn_sub_builder $package_name"
 
        sub_builder_opts=''
-       if [ "${FETCH_BUILD_REQUIRES}" == "yes" ]; then
+       if [ "${FETCH_BUILD_REQUIRES}" = "yes" ]; then
                sub_builder_opts="${sub_builder_opts} -R"
        fi
-       if [ "${REMOVE_BUILD_REQUIRES}" == "nice" ]; then
+       if [ "${REMOVE_BUILD_REQUIRES}" = "nice" ]; then
                sub_builder_opts="${sub_builder_opts} -RB"
-       elif [ "${REMOVE_BUILD_REQUIRES}" == "force" ]; then
+       elif [ "${REMOVE_BUILD_REQUIRES}" = "force" ]; then
                sub_builder_opts="${sub_builder_opts} -FRB"
        fi
-       if [ "${UPDATE_POLDEK_INDEXES}" == "yes" ]; then
+       if [ "${UPDATE_POLDEK_INDEXES}" = "yes" ]; then
                sub_builder_opts="${sub_builder_opts} -Upi"
        fi
 
This page took 0.038148 seconds and 4 git commands to generate.