Explorar o código

Merge pull request #429 from infosiftr/dirname-inconsistency

Use "xargs -n1" on dirname since some versions don't support multiargs
Tianon Gravi %!s(int64=10) %!d(string=hai) anos
pai
achega
67e809e16a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bashbrew/git-set-mtimes

+ 1 - 1
bashbrew/git-set-mtimes

@@ -2,7 +2,7 @@
 set -e
 
 IFS=$'\n'
-files=( $({ git ls-files | xargs dirname | sort -u && git ls-files; } | sort -r) )
+files=( $({ git ls-files | xargs -n1 dirname | sort -u && git ls-files; } | sort -r) )
 unset IFS
 
 for f in "${files[@]}"; do