diff options
author | Erich Eckner <git@eckner.net> | 2016-11-23 09:08:15 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-11-23 09:08:29 +0100 |
commit | 87ff4a9ce5c2b8787af12f14a1b8565ffd189382 (patch) | |
tree | 6199db7d69b802ddec9c09fabe377194051fe045 | |
parent | 4f5e6e22b12d73f903ae65313496d88bb907c958 (diff) | |
download | archlinuxewe-87ff4a9ce5c2b8787af12f14a1b8565ffd189382.tar.xz |
codestyle: "curl -o - ..." -> "curl ..."
-rwxr-xr-x | archPackagesUpdate | 2 | ||||
-rwxr-xr-x | checkAllRepos | 2 | ||||
-rwxr-xr-x | checkVersions | 14 | ||||
-rwxr-xr-x | neuesPerlPaket | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate index 3f362cc28..8e02d1eef 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -648,7 +648,7 @@ else sumTyp="sha256sum" pkgSum="${sha256sums[@]}" fi - remSum="$(curl -o - "${source#*::}&post=${sumTyp}" 2> /dev/null)" + remSum="$(curl "${source#*::}&post=${sumTyp}" 2> /dev/null)" if [ ! "${remSum}" == "${pkgSum}" ] then >&2 echo "${sumTyp}s von ${pkgname} stimmt nicht: ${remSum} vs. ${pkgSum}." diff --git a/checkAllRepos b/checkAllRepos index 782f6217f..fbe7c1bd5 100755 --- a/checkAllRepos +++ b/checkAllRepos @@ -93,7 +93,7 @@ fi if ${alle} then - curl -o - "https://wiki.archlinux.org/index.php/Unofficial_user_repositories" 2> /dev/null | \ + curl "https://wiki.archlinux.org/index.php/Unofficial_user_repositories" 2> /dev/null | \ sed 's|#.*$||' | \ sed ' :begin; diff --git a/checkVersions b/checkVersions index 4502a3989..18cd389ec 100755 --- a/checkVersions +++ b/checkVersions @@ -121,7 +121,7 @@ then elif [ "${pkgname}" == "pgplot-for-ifeffit" ] then remVer="$( - curl -o - "ftp://ftp.astro.caltech.edu/pub/pgplot/" 2> /dev/null | \ + curl "ftp://ftp.astro.caltech.edu/pub/pgplot/" 2> /dev/null | \ grep "\spgplot[0-9.]\+\.tar\.gz -> \S\+\$" | \ sed "s|^.*\spgplot\([0-9.]\+\)\.tar\.gz -> \S\+\$|\1|" | \ sort -V | \ @@ -176,7 +176,7 @@ then sed 's|^\(.*\)/packages/.*/\([^/]\+\)-[^/-]\+\.tar\.gz$|\1/pypi/\2/|' )" remVer="$( - curl -o - "${qu}" 2> /dev/null | \ + curl "${qu}" 2> /dev/null | \ tr "\"" "\n" | \ grep "^/pypi/\(python-\)\?${pkgname#*-}/[0-9.-]\+\$" | \ sed "s|^/pypi/\(python-\)\?${pkgname#*-}/\([0-9.-]\+\)\$|\2|" | \ @@ -191,7 +191,7 @@ then sed 's|^\(https\?://\([^/]\+/\)\{3\}\).*$|\1|' )" remVer="$( - curl -o - "${qu}" 2> /dev/null | \ + curl "${qu}" 2> /dev/null | \ tr "\"" "\n" | \ grep '^[0-9.]\+/$' | \ sed 's|/$||' | \ @@ -205,7 +205,7 @@ then qu=${qu%-*} quNam=${qu#*=} remVer=$( \ - curl -o - "$(\ + curl "$(\ echo "${qu}" | \ sed "s|\?dl=|?ls=|" \ )" 2> /dev/null | \ @@ -262,7 +262,7 @@ then sed "s|v\?[0-9.]\+.*\$||" \ ) tmpVer=$( \ - curl -o - "${quVer}" 2> /dev/null | \ + curl "${quVer}" 2> /dev/null | \ awk '{print $9}' | \ grep "^${quNam}v\?[0-9.]*${quEnd}\$" | \ sed "s|^${quNam}v\?\([0-9.]*\)${quEnd}\$|\1|" | \ @@ -282,7 +282,7 @@ then quEnd=${src##*-} quEnd=${quEnd#*.} remVer=$( \ - curl -o - "${quVer}/" 2> /dev/null | \ + curl "${quVer}/" 2> /dev/null | \ tr "\"" "\n" | \ grep "^${quNam}\(-[^-]*\)\{3\}\.${quEnd}\$" | \ sed "s|^${quNam}-\([^-]*\)\(-[^-]*\)\{2\}\.${quEnd}\$|\1|" | \ @@ -298,7 +298,7 @@ then ) quNam=/${quVer#*.com/}/tag/ remVer=$( \ - curl -o - "${quVer}" 2> /dev/null | \ + curl "${quVer}" 2> /dev/null | \ tr "\"" "\n" | \ grep "^${quNam}[0-9.]\+\$" | \ sed "s|^${quNam}||" | \ diff --git a/neuesPerlPaket b/neuesPerlPaket index 02ba21317..b9fb2be16 100755 --- a/neuesPerlPaket +++ b/neuesPerlPaket @@ -43,7 +43,7 @@ fi . perlFunktionen -seitenInhalt="$(curl -o - "${url}" 2> /dev/null)" +seitenInhalt="$(curl "${url}" 2> /dev/null)" pkgver="$( echo "${seitenInhalt}" | \ |