Skip to content

Commit 9ef47c9

Browse files
committed
Use POSIX option -n for head and tail commands.
1 parent 0f8e2e3 commit 9ef47c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/dump-diff.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ done
106106

107107
cd "$tmp/tape2"
108108
tap="$home/diffs.tap"
109-
head -1 "$diffs" | xargs itstar cvf "$tap"
110-
tail +2 "$diffs" | xargs itstar rvf "$tap"
109+
head -n -1 "$diffs" | xargs itstar cvf "$tap"
110+
tail -n +2 "$diffs" | xargs itstar rvf "$tap"
111111
itstar rvf "$tap" _temp_/upgrade.xfile
112112
rm "$diffs"
113113

0 commit comments

Comments
 (0)