Skip to content

Commit

Permalink
Use POSIX option -n for head and tail commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbrinkhoff committed Dec 11, 2024
1 parent 0f8e2e3 commit 9ef47c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/dump-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ done

cd "$tmp/tape2"
tap="$home/diffs.tap"
head -1 "$diffs" | xargs itstar cvf "$tap"
tail +2 "$diffs" | xargs itstar rvf "$tap"
head -n -1 "$diffs" | xargs itstar cvf "$tap"
tail -n +2 "$diffs" | xargs itstar rvf "$tap"
itstar rvf "$tap" _temp_/upgrade.xfile
rm "$diffs"

Expand Down

0 comments on commit 9ef47c9

Please sign in to comment.