You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2019/07/31 09:27:18 UTC
[sling-aggregator] branch master updated: corrected contrib and
deprecated module lookups
This is an automated email from the ASF dual-hosted git repository.
radu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-aggregator.git
The following commit(s) were added to refs/heads/master by this push:
new 169fbc7 corrected contrib and deprecated module lookups
169fbc7 is described below
commit 169fbc7485a8512e7d4064301c8a3743f33539a1
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Wed Jul 31 11:26:12 2019 +0200
corrected contrib and deprecated module lookups
---
add-badges.sh | 8 +++++---
deprecated-projects.txt | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/add-badges.sh b/add-badges.sh
index 5672e94..7373c8a 100755
--- a/add-badges.sh
+++ b/add-badges.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-SCRIPT_DIR=$(pwd)
+SCRIPT_DIR=$PWD
AUTO_COMMIT=0
@@ -39,16 +39,18 @@ function update_badges () {
STATUS=""
for module in `cat $SCRIPT_DIR/contrib-projects.txt`; do
- if [[ $project == $REPO_NAME ]]; then
+ if [[ "$module" == "$REPO_NAME" ]]; then
STATUS="contrib"
+ echo "Found status $STATUS..."
break
fi
done
if [[ -z $STATUS ]]; then
for module in `cat $SCRIPT_DIR/deprecated-projects.txt`; do
- if [[ $project == $REPO_NAME ]]; then
+ if [[ "$module" == "$REPO_NAME" ]]; then
STATUS="deprecated"
+ echo "Found status $STATUS..."
break
fi
done
diff --git a/deprecated-projects.txt b/deprecated-projects.txt
index 809fa33..8423ffc 100644
--- a/deprecated-projects.txt
+++ b/deprecated-projects.txt
@@ -42,4 +42,4 @@ org-apache-sling-samples-slingbucks
org-apache-sling-samples-testing-bundle-with-it
org-apache-sling-samples-testing-module-with-it
org-apache-sling-testing-tools
-test-servlet-archetype-project
\ No newline at end of file
+test-servlet-archetype-project