mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 20:47:27 +03:00
nix: removes unnecessary use of cat
in ivory-header build
This commit is contained in:
parent
a01b5ed3db
commit
13f61ad373
@ -13,7 +13,7 @@ fi
|
||||
|
||||
# first 7 bytes != "version" (start of an lfs pointer)
|
||||
#
|
||||
if [ "$(cat "$IVORY" | head -c 7)" = "version" ]; then
|
||||
if [ "$(head -c 7 "$IVORY")" = "version" ]; then
|
||||
echo "$IVORY is an LFS pointer (it starts with 'version')"
|
||||
echo "to fix, run: git lfs install"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user