cleanup scripts
use git command instead of some random realpath that is not installed everywhere
This commit is contained in:
+2
-3
@@ -1,8 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
SCRIPTS_DIR="$(dirname "${BASH_SOURCE[0]}")"
|
||||
ROOT_DIR="$(realpath $SCRIPTS_DIR/..)/"
|
||||
ROOT_DIR="$(git rev-parse --show-toplevel)/"
|
||||
TARGET_DIR="$(pwd)"
|
||||
RELATIVE_TARGET_DIR="${TARGET_DIR/$ROOT_DIR/}"
|
||||
|
||||
@@ -32,4 +31,4 @@ tsdxArgs+=($@)
|
||||
# Execute
|
||||
$node "$(yarn bin tsdx)" "${tsdxArgs[@]}"
|
||||
|
||||
popd > /dev/null
|
||||
popd > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user