From: fred Date: Wed, 1 Jul 1998 07:40:39 +0000 (+0000) Subject: lilypond-1.0.1 X-Git-Tag: release/1.5.59~5922 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=313b84d85bbb12164608b623210a88c1fb144784;p=lilypond.git lilypond-1.0.1 --- diff --git a/stepmake/bin/stepdirs.sh b/stepmake/bin/stepdirs.sh new file mode 100755 index 0000000000..fbda8e9b3c --- /dev/null +++ b/stepmake/bin/stepdirs.sh @@ -0,0 +1,47 @@ +#!/bin/sh +# stepdirs.sh + +help () { + echo "Usage: stepmake/bin/stepdirs.sh" +} + +if [ $# -ne 0 ]; then + help + exit 2 +fi + +if [ ! -r stepmake ]; then + help + exit 2 +fi + +if [ -r VERSION ]; then + . ./VERSION + if [ "x$PACKAGE_NAME" = "xStepMake" ]; then + help + exit 2 + fi +fi + +dirs="RedHat doos patches releases test" + +echo -n "Checking StepMake layout..." +for i in $dirs; do + if [ ! -r ../$i ]; then + missing="$missing ../$i" + fi +done + +if [ "x$missing" = "x" ]; then + echo ok + exit 0 +fi + +echo + +echo "Creating missing directories:" +for i in $missing; do + (set -x; mkdir $i) +done + +echo done