forked from jamulussoftware/jamulus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move duplicated code to one file, fixing bash & chmod
- Loading branch information
nefarius2001
committed
Feb 17, 2021
1 parent
7af739f
commit a94950c
Showing
21 changed files
with
56 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file modified
0
autobuild/android/archive___android_build_docker/__example__jamulusbuild.sh
100644 → 100755
Empty file.
Empty file modified
0
autobuild/android/archive___android_build_docker/build_qt_project.sh
100644 → 100755
Empty file.
Empty file modified
0
autobuild/android/archive___android_build_docker/install-qt.sh
100644 → 100755
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
|
||
echo "ensuring env-variable THIS_JAMULUS_PROJECT_PATH" | ||
|
||
#################### | ||
### PARAMETERS ### | ||
#################### | ||
|
||
if [ ! -z "${1}" ]; then | ||
echo "THIS_JAMULUS_PROJECT_PATH from parameter" | ||
THIS_JAMULUS_PROJECT_PATH="${1}" | ||
elif [ ! -z "${jamulus_project_path}" ]; then | ||
echo "THIS_JAMULUS_PROJECT_PATH from env-variable jamulus_project_path" | ||
THIS_JAMULUS_PROJECT_PATH="${jamulus_project_path}" | ||
elif [ ! -z "${GITHUB_WORKSPACE}" ]; then | ||
echo "THIS_JAMULUS_PROJECT_PATH from env-variable GITHUB_WORKSPACE" | ||
THIS_JAMULUS_PROJECT_PATH="${GITHUB_WORKSPACE}" | ||
else | ||
echo "Please give the path to the repository root as environment variable 'jamulus_project_path' or parameter to this script!" | ||
exit 1 | ||
fi | ||
|
||
if [ -d "$THIS_JAMULUS_PROJECT_PATH" ]; then | ||
echo "THIS_JAMULUS_PROJECT_PATH exists (relative): ${THIS_JAMULUS_PROJECT_PATH}" | ||
## THIS_JAMULUS_PROJECT_PATH=$(readlink -e "${THIS_JAMULUS_PROJECT_PATH}") # works for linux, but not mac | ||
THIS_JAMULUS_PROJECT_PATH=$(python -c "import os; print(os.path.abspath(\"${THIS_JAMULUS_PROJECT_PATH}\"));") | ||
#python -c "import os; print(os.path.abspath(\"${THIS_JAMULUS_PROJECT_PATH}\"));" | ||
echo "THIS_JAMULUS_PROJECT_PATH exists (absolute): ${THIS_JAMULUS_PROJECT_PATH}" | ||
else | ||
echo "ERROR: non-existing THIS_JAMULUS_PROJECT_PATH: ${THIS_JAMULUS_PROJECT_PATH}" | ||
exit 1 | ||
fi | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters