From 4c50cc7551fedf7b7d6aded09988c41c7d6d2b76 Mon Sep 17 00:00:00 2001 From: Matthew Fosse Date: Wed, 1 May 2024 09:44:22 -0700 Subject: [PATCH] minor script fix (#1423) --- run-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-android.sh b/run-android.sh index dd694267a..bdacef392 100755 --- a/run-android.sh +++ b/run-android.sh @@ -4,6 +4,7 @@ get_current_branch() { if git rev-parse --git-dir > /dev/null 2>&1; then branch=$(git rev-parse --abbrev-ref HEAD) + branch=${branch//[-]/_} # Replace all dashes with underscores echo "$branch" else echo "Error: Not a git repository." @@ -15,7 +16,6 @@ get_current_branch() { update_app_properties() { local branch=$1 local file_path="./android/app.properties" - sed -i "s/^id=.*/id=com.cakewallet.$branch/" "$file_path" sed -i "s/^name=.*/name=$branch-Cake Wallet/" "$file_path" }