Skip to content

Commit

Permalink
Wrapper script fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
capyvara committed Aug 1, 2019
1 parent 765ab64 commit c9e8b91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uyaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

DIR=$(cd `dirname $0` && pwd)
DIR="$(dirname $0)/$(dirname "$(readlink "$0")")"
FALLBACK_FILE="${USER}/.uyamlspec.txt"

if [ -e ${FALLBACK_FILE} ]; then
${DIR}/../libexec/UnityYAMLMerge merge "$@" --fallback "${FALLBACK_FILE}"
${DIR}/../libexec/UnityYAMLMerge merge -h "$@" --fallback "${FALLBACK_FILE}"
else
${DIR}/../libexec/UnityYAMLMerge merge "$@"
${DIR}/../libexec/UnityYAMLMerge merge -h "$@"
fi

0 comments on commit c9e8b91

Please sign in to comment.