URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [mkinstalldirs] - Rev 1779
Go to most recent revision | Compare with Previous | Blame | View Log
#! /bin/sh# mkinstalldirs --- make directory hierarchy# Author: Noah Friedman <friedman@prep.ai.mit.edu># Created: 1993-05-16# Public domain# $Id: mkinstalldirs,v 1.1 2000-03-03 15:39:45 jrydberg Exp $errstatus=0for filedoset fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`shiftpathcomp=for ddopathcomp="$pathcomp$d"case "$pathcomp" in-* ) pathcomp=./$pathcomp ;;esacif test ! -d "$pathcomp"; thenecho "mkdir $pathcomp"mkdir "$pathcomp" || lasterr=$?if test ! -d "$pathcomp"; thenerrstatus=$lasterrfifipathcomp="$pathcomp/"donedoneexit $errstatus# mkinstalldirs ends here
Go to most recent revision | Compare with Previous | Blame | View Log
