diff options
author | Karl Ramm <kcr@1ts.org> | 2010-11-06 14:41:52 -0400 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2011-10-23 11:37:06 -0400 |
commit | 9babe1ad287308b003641e1fc152aff808b95d86 (patch) | |
tree | b16588358479a8ddbb8687be3ecce86329ff25f5 /ensure-dir.sh | |
parent | 058d831196fee7af340026776798eeac5844836a (diff) |
Retool our use of configure such that we track it like everyone else does
i.e. don't keep generated or foreign stuff in our source tree.
As a side effect, this lets us use a libtool, etc. from this century
Diffstat (limited to 'ensure-dir.sh')
-rwxr-xr-x | ensure-dir.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ensure-dir.sh b/ensure-dir.sh deleted file mode 100755 index 34f03ac..0000000 --- a/ensure-dir.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -pathname=$1 -mode=$2 -OLDIFS="${IFS}"; IFS=/; set $pathname; IFS="${OLDIFS}" - -case $pathname in - /*) partial=/; ;; - *) partial=""; ;; -esac - -for i do - case i in "") continue; ;; esac - partial="${partial}${i}" - if [ ! -d ${partial} ]; then - mkdir ${partial} || exit 1; - chmod ${mode} ${partial} - fi - partial="${partial}/" -done - |