Fix potential git-apply error

This commit is contained in:
Manuel Thalmann 2024-07-06 22:26:46 +02:00
parent 4359995e58
commit f38ed2e8ff

View file

@ -11,7 +11,7 @@ projectDir="$rootHome/PortValhalla";
nixDir="$profileDir/$root/nix/var/nix/profiles/per-user/root/channels/nixpkgs"; nixDir="$profileDir/$root/nix/var/nix/profiles/per-user/root/channels/nixpkgs";
mkdir -p "$rootHome"; mkdir -p "$rootHome";
git clone .. "$projectDir"; git clone .. "$projectDir";
git -C .. diff HEAD | git -C "$projectDir" apply; git -C .. diff HEAD | git -C "$projectDir" apply --allow-empty;
git -C .. ls-files --exclude-standard --others | \ git -C .. ls-files --exclude-standard --others | \
while read file; do while read file; do