Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add patches #207

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update xo-install.sh
ShellCheck improvements for quoting.
  • Loading branch information
ixs committed Jan 15, 2023
commit 90820a903e38968ff4fd232ba7cc7260a75d09b7
4 changes: 2 additions & 2 deletions xo-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,8 @@ function ApplyPatches {

trap ErrorHandling ERR INT

for patch in $(dirname $0)/patches/*.patch; do
runcmd "cat $(dirname $0)/patches/$(basename $patch) | (cd $INSTALLDIR/xo-builds/xen-orchestra-$TIME && git apply -)"
for patch in "$(dirname "$0")"/patches/*.patch; do
runcmd "cat $(dirname "$0")/patches/$(basename "$patch") | (cd $INSTALLDIR/xo-builds/xen-orchestra-$TIME && git apply -)"
done
echo
printok "Applying patches"
Expand Down