diff --git a/build-src.sh b/build-src.sh index dd7ea90..f360202 100755 --- a/build-src.sh +++ b/build-src.sh @@ -4,7 +4,7 @@ # commit-db.rb list-valid nightly|GIT_DIR=/your/rust/dir/.git ./build-src.sh if [ $(uname) == 'Darwin' ]; then - alias tac='tail -f' + alias tac='tail -r' fi prompt_changes() { diff --git a/functions.sh b/functions.sh index 26fd5b2..85d3886 100644 --- a/functions.sh +++ b/functions.sh @@ -35,7 +35,7 @@ get_io_commits() { } get_patch_commits() { - find $PATCH_DIR -type f|xargs -n 1 basename|cut -d. -f1 + find $PATCH_DIR -type f -print0|xargs -0 -n 1 basename|cut -d. -f1 } prepare_version() {