Server IP : 52.91.253.208 / Your IP : 3.129.249.92 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/common/build-1/ |
Upload File : |
#!/bin/sh ## ## mkdir.sh -- make directory hierarchy ## ## Based on `mkinstalldirs' from Noah Friedman <friedman@prep.ai.mit.edu> ## as of 1994-03-25, which was placed in the Public Domain. ## Cleaned up for Apache's Autoconf-style Interface (APACI) ## by Ralf S. Engelschall <rse@apache.org> ## # # This script falls under the Apache License. # See http://www.apache.org/docs/LICENSE umask 022 errstatus=0 for file in ${1+"$@"} ; do set fnord `echo ":$file" |\ sed -e 's/^:\//%/' -e 's/^://' -e 's/\// /g' -e 's/^%/\//'` shift pathcomp= for d in ${1+"$@"}; do pathcomp="$pathcomp$d" case "$pathcomp" in -* ) pathcomp=./$pathcomp ;; ?: ) pathcomp="$pathcomp/" continue ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" 1>&2 thiserrstatus=0 mkdir "$pathcomp" || thiserrstatus=$? # ignore errors due to races if a parallel mkdir.sh already # created the dir if test $thiserrstatus != 0 && test ! -d "$pathcomp" ; then errstatus=$thiserrstatus fi fi pathcomp="$pathcomp/" done done exit $errstatus