File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4
4
# commit-db.rb list-valid nightly|GIT_DIR=/your/rust/dir/.git ./build-src.sh
5
5
6
6
if [ $( uname) == ' Darwin' ]; then
7
- alias tac=' tail -f '
7
+ alias tac=' tail -r '
8
8
fi
9
9
10
10
prompt_changes () {
Original file line number Diff line number Diff line change 5
5
6
6
prompt_changes () {
7
7
bold_arrow; echo " Editing $IO_COMMIT "
8
- bold_arrow; echo -e " Remember to test your changes with: \e [1;36mcargo build\e [0m"
8
+ bold_arrow; echo -e " Remember to test your changes with: \033 [1;36mcargo build\033 [0m"
9
9
10
10
local MAIN_GIT_DIR=" $GIT_DIR "
11
11
local GIT_DIR=./.git CORE_IO_COMMIT=$IO_COMMIT
@@ -18,9 +18,9 @@ prompt_changes() {
18
18
patch -s -p1 < $PATCH_DIR /$IO_COMMIT .patch
19
19
git commit -a -m " existing patch for $IO_COMMIT " > /dev/null
20
20
21
- bold_arrow; echo -e " Applying patch from \e [1;36m$TMP_PATCH \e [0m"
21
+ bold_arrow; echo -e " Applying patch from \033 [1;36m$TMP_PATCH \033 [0m"
22
22
patch -p1 < $TMP_PATCH || true
23
- bold_arrow; echo -e " Make your changes now (\e [1;36mctrl-D\e [0m when finished)"
23
+ bold_arrow; echo -e " Make your changes now (\033 [1;36mctrl-D\033 [0m when finished)"
24
24
bash_diff_loop " No changes were made"
25
25
bold_arrow; echo " Replacing $IO_COMMIT .patch with updated version"
26
26
git diff > $TMP_PATCH
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ get_io_commits() {
35
35
}
36
36
37
37
get_patch_commits () {
38
- find $PATCH_DIR -type f| xargs -n 1 basename| cut -d. -f1
38
+ find $PATCH_DIR -type f -print0 | xargs -0 -n 1 basename| cut -d. -f1
39
39
}
40
40
41
41
prepare_version () {
You can’t perform that action at this time.
0 commit comments