X-Git-Url: https://git.mxchange.org/?p=jprojects-scripts.git;a=blobdiff_plain;f=build-dist-all.sh;h=c5ae10febf7425071e9b9dbf07be4e23571cca01;hp=5ac2a3e6fe165fbb4772a9abbcea01979f5d57bc;hb=2d1c7a86f55775c9c4aed22f7c0b7a997f9d8228;hpb=2674d9b3266d9849a69284f43d3f8bbd1c3154c9 diff --git a/build-dist-all.sh b/build-dist-all.sh index 5ac2a3e..c5ae10f 100755 --- a/build-dist-all.sh +++ b/build-dist-all.sh @@ -3,10 +3,14 @@ . ./.jprojects.sh || exit 255 for project in ${LIST}; do - if [ ! -d "${JPROJECTS_HOME}/${project}" ] + if [ "${project}" = "jprojects-scripts" ] + then + echo "$0: Skipping jprojects-scripts ..." + continue + elif [ ! -d "${JPROJECTS_HOME}/${project}" ] then echo "$0: Project '${project}' does not exist." - continue; + continue fi echo "$0: Executing '${project}' ..." @@ -53,7 +57,12 @@ for project in ${LIST}; do echo "$0: Error: Project '${project}' has non-executable dist.sh!" exit 1 else - ./dist.sh + if [ "$1" = "r" ] + then + ./dist.sh r + else + ./dist.sh + fi fi done