diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/aur | 8 | ||||
-rwxr-xr-x | src/diff-unfree | 6 | ||||
-rwxr-xr-x | src/libremessages | 4 |
3 files changed, 7 insertions, 11 deletions
@@ -53,7 +53,7 @@ main() { else # Store our copy of the PKGBUILD dir _diff="${PWD}/${_pkg}" - stdnull "pushd $(mktemp --tmpdir -d ${_pkg}.XXXX)" + pushd $(mktemp --tmpdir -d ${_pkg}.XXXX) &>/dev/null msg2 "Downloading PKGBUILD into ${PWD} for diff" fi fi @@ -67,7 +67,7 @@ main() { continue fi - stdnull "pushd $_pkg" + pushd $_pkg &>/dev/null if [[ ! -z "$_diff" ]]; then msg2 "Diffing files" @@ -77,7 +77,7 @@ main() { done # Go back to our copy to continue working - stdnull "pushd ${_diff}" + pushd ${_diff} &>/dev/null fi . PKGBUILD @@ -119,7 +119,7 @@ main() { fi done - stdnull popd + popd &>/dev/null done [[ ${#missing_deps[*]} -gt 0 ]] && { diff --git a/src/diff-unfree b/src/diff-unfree index 24ada67..a770214 100755 --- a/src/diff-unfree +++ b/src/diff-unfree @@ -63,17 +63,17 @@ main() { fi unfree_dir="${tmp_dir}/${svnrepo}/${package}/${trunk}" - stdnull 'pushd "${tmp_dir}"' + pushd "${tmp_dir}" &>/dev/null msg "Getting diff from $repo/$package..." - stdnull 'svn checkout --depth=empty svn://svn.archlinux.org/$svnrepo' + svn checkout --depth=empty svn://svn.archlinux.org/$svnrepo &>/dev/null cd ${svnrepo} svn update ${package} # Back to start dir - stdnull popd + popd &>/dev/null msg "Diffing files" diff --git a/src/libremessages b/src/libremessages index 4198e4e..8793a80 100755 --- a/src/libremessages +++ b/src/libremessages @@ -39,10 +39,6 @@ export TEXTDOMAINDIR='/usr/share/locale' # Own functions # ################################################################################ -stdnull() { - eval "$@ &>/dev/null" -} - # Set the terminal title term_title() { local fmt='' |