We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0794cd3 commit b221a5fCopy full SHA for b221a5f
1 file changed
scripts/update-android.sh
@@ -1,6 +1,7 @@
1
#!/usr/bin/env bash
2
set -euo pipefail
3
4
+ORIGINAL_DIR=$(cd "$(dirname "$0")" && pwd)
5
cd $(dirname "$0")/../packages/core/android
6
file='build.gradle'
7
content=$(cat $file)
@@ -27,7 +28,8 @@ set-version)
27
28
echo "$newContent" >$file
29
30
# Update replay-stubs to match
- $(dirname "$0")/update-android-stubs.sh set-version $2
31
+ cd $ORIGINAL_DIR
32
+ ./update-android-stubs.sh set-version $2
33
;;
34
*)
35
echo "Unknown argument $1"
0 commit comments