VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /usr/GNUstep/System/Library/Makefiles/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/GNUstep/System/Library/Makefiles/mkinstalldirs
#!/bin/sh
# Make directory hierarchy. 
# Written by Noah Friedman <friedman@prep.ai.mit.edu>
# Public domain.
# Modified by Adam Fedor, Nicola Pero

if test "$1" = "-c"; then
  CHOWN_TO="$2"
  shift 2
else
  CHOWN_TO=""
fi

MKDIR="mkdir"

defaultIFS=' 	
'
IFS="${IFS-${defaultIFS}}"

errstatus=0

for file in ${1+"$@"} ; do 
   oIFS="${IFS}"
   # Some sh's can't handle IFS=/ for some reason.
   IFS='%'
   set - `echo ${file} | sed -e 's@/@%@g' -e 's@^%@/@'`
   IFS="${oIFS}"

   pathcomp=''

   for d in ${1+"$@"} ; do
     pathcomp="${pathcomp}${d}"

     if test ! -d "${pathcomp}"; then
        #echo "$MKDIR $pathcomp" 1>&2
	if test ! -z "${CHOWN_TO}"; then
          #echo "chown $CHOWN_TO $pathcomp" 1>&2
          ($MKDIR "${pathcomp}" && chown $CHOWN_TO "${pathcomp}") || errstatus=$?
	else
          $MKDIR "${pathcomp}" || errstatus=$?
	fi;
     fi

     pathcomp="${pathcomp}/"
   done
done

exit $errstatus

# eof

VaKeR 2022