Skip to content

Commit 956d127

Browse files
committed
Export GHE_DATA_DIR in ghe-backup-config so it will be available to customer script
1 parent 7f9b059 commit 956d127

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

share/github-backup-utils/ghe-backup-config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ fi
152152
if [ ${GHE_DATA_DIR:0:1} != "/" ]; then
153153
GHE_DATA_DIR="$( cd "$GHE_BACKUP_ROOT" && readlink -m "$GHE_DATA_DIR" 2> /dev/null || echo "$GHE_BACKUP_ROOT/$GHE_DATA_DIR" )"
154154
fi
155+
export GHE_DATA_DIR
155156

156157
# Assign the Release File path if it hasn't been provided (eg: by test suite)
157158
: ${GHE_RELEASE_FILE:="/etc/github/enterprise-release"}

0 commit comments

Comments
 (0)