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 b52401e commit 971628eCopy full SHA for 971628e
scripts/pustaka.sh
@@ -66,7 +66,7 @@ update_region() {
66
$program "$region" "$pustaka_dir" "$json" $2 $3 $4
67
68
# Check if there are any staged or unstaged changes
69
- if [[ -n $(git status --porcelain) ]]; then
+ if [ "$(git status --porcelain)" != "" ]; then
70
echo "Changes detected for $region!"
71
git add .
72
git commit -m "Update pustaka for $region @$timestamp"
@@ -78,7 +78,6 @@ update_region() {
78
echo
79
}
80
81
-
82
# Update all regions
83
update_region "Hi3SEA" "" "" ""
84
update_region "Hi3Global" "" "" ""
0 commit comments