File: mdhelper.sh

package info (click to toggle)
allegro4.2 2:4.2.0-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 24,436 kB
  • ctags: 14,714
  • sloc: ansic: 126,425; asm: 17,011; cpp: 3,846; sh: 2,120; objc: 925; makefile: 715; python: 216; pascal: 179; perl: 73
file content (11 lines) | stat: -rwxr-xr-x 190 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# Used by makefile.all's create-install-dirs target.

for dir in $*; do
   if [ ! -d "$dir" ]; then
      mkdir $dir
      if [ $? != 0 ]; then
         exit 1
      fi
   fi
done