~ubuntu-branches/ubuntu/breezy/cvsd/breezy

« back to all changes in this revision

Viewing changes to mkinstalldirs

  • Committer: Bazaar Package Importer
  • Author(s): Arthur de Jong
  • Date: 2005-04-26 22:00:00 UTC
  • mfrom: (1.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050426220000-4jv1ah3wzkr0s2bf
Tags: 1.0.7
* improvements to the README
* fix bug in cvsd-buildroot correctly creating lib64 directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# mkinstalldirs --- make directory hierarchy
3
3
 
4
 
scriptversion=2004-02-15.20
 
4
scriptversion=2005-02-02.21
5
5
 
6
6
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
7
7
# Created: 1993-05-16
27
27
  case $1 in
28
28
    -h | --help | --h*)         # -h for help
29
29
      echo "$usage"
30
 
      exit 0
 
30
      exit $?
31
31
      ;;
32
32
    -m)                         # -m PERM arg
33
33
      shift
37
37
      ;;
38
38
    --version)
39
39
      echo "$0 $scriptversion"
40
 
      exit 0
 
40
      exit $?
41
41
      ;;
42
42
    --)                         # stop option processing
43
43
      shift