Use reallink for all server cli scripts

This commit is contained in:
Martin Aeschlimann
2022-03-24 15:56:16 +01:00
parent ee0c8c4f01
commit 465cac2c42
5 changed files with 48 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env sh
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
ROOT="$(dirname "$(dirname "$(readlink -f "$0")")")"
APP_NAME="@@APPNAME@@"
VERSION="@@VERSION@@"
COMMIT="@@COMMIT@@"
EXEC_NAME="@@APPNAME@@"
CLI_SCRIPT="$ROOT/out/server-cli.js"
"$ROOT/node" "$CLI_SCRIPT" "$APP_NAME" "$VERSION" "$COMMIT" "$EXEC_NAME" "$@"