File: mkdir-p

package info (click to toggle)
charliecloud 0.43-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,116 kB
  • sloc: python: 6,021; sh: 4,284; ansic: 3,863; makefile: 598
file content (7 lines) | stat: -rwxr-xr-x 144 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh

# “mkdir -p” work-alike that sets permissions on the target and all
# intermediate directories to 0755.

umask 0022
mkdir -p "$@"