diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-02-27 13:07:27 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-02-27 13:07:27 +0100 |
commit | 9ba5d3147f40707ea52b79bff14d636a89166ef8 (patch) | |
tree | 6a731d1f40a66585f4aae8528d9802b9737a985b /pkg.build | |
parent | 6e48a090d26ba77f026c6ade823cf06f5918a1cf (diff) | |
download | midipix_build-9ba5d3147f40707ea52b79bff14d636a89166ef8.tar.bz2 midipix_build-9ba5d3147f40707ea52b79bff14d636a89166ef8.tar.xz |
Replaced [ "x${... constructions w/ the equally portable [ "${....
Diffstat (limited to 'pkg.build')
-rw-r--r-- | pkg.build | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ parse_with_pkg_name ${SCRIPT_FNAME%[0-9][0-9]*} ${2} ${PKG_BUILD_NAMES}; if ! is_build_script_done fetch; then - if [ "x${PKG_URL_TYPE:-wget}" = "xwget" ]; then + if [ "${PKG_URL_TYPE:-wget}" = wget ]; then rm_if_exists $(get_basename ${PKG_URL}); fetch ${PKG_URL} ${PKG_SHA256SUM}; else @@ -15,7 +15,7 @@ if ! is_build_script_done fetch; then fi; if test_cmd pkg_${PKG_NAME}_finish; then pkg_${PKG_NAME}_finish; exit 0; -elif [ "x${PKG_URL_TYPE:-wget}" = "xwget" ] &&\ +elif [ "${PKG_URL_TYPE:-wget}" = wget ] &&\ ! is_build_script_done extract; then rm_if_exists ${PKG_SUBDIR}; tar -axf ${PKG_FNAME}; |