]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.1
authorfred <fred>
Wed, 1 Jul 1998 07:40:39 +0000 (07:40 +0000)
committerfred <fred>
Wed, 1 Jul 1998 07:40:39 +0000 (07:40 +0000)
stepmake/bin/stepdirs.sh [new file with mode: 0755]

diff --git a/stepmake/bin/stepdirs.sh b/stepmake/bin/stepdirs.sh
new file mode 100755 (executable)
index 0000000..fbda8e9
--- /dev/null
@@ -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