Skip to content

Commit

Permalink
[Devutils] [Set Quilt Vars] Hotfix for both bash and zsh compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolowry committed Sep 4, 2019
1 parent 491cb70 commit 2a10ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devutils/set_quilt_vars.sh
Expand Up @@ -8,7 +8,7 @@
alias quilt='quilt --quiltrc -'

# Assume this script lives within devutils/
PLATFORM_ROOT=$(dirname $(dirname $(readlink -f ${BASH_SOURCE[0]})))
PLATFORM_ROOT=$(dirname "$(dirname "$(readlink -f "${BASH_SOURCE[0]:-${(%):-%x}}")")")

export QUILT_PATCHES="$PLATFORM_ROOT/patches"
export QUILT_SERIES="series.merged"
Expand Down

0 comments on commit 2a10ed4

Please sign in to comment.