Lines Matching refs:basename
54 basename=${loc%/*}
56 if [[ "$basename" == "" ]]; then basename="/"; fi
57 (( DEBUG )) && print "DEBUG: basename $basename"
61 if [[ ! -d "$basename" ]]; then
62 print "ERROR3: Parent directory \"$basename\" does not exist!\n."
66 print ".\ta \"mkdir -p $basename\" first, then rerun this script.\n."
72 if [[ ! -w "$basename" ]]; then
73 print "ERROR4: Can't write to parent directory \"$basename\"!\n."
79 ls -ld "$basename" | awk '{ print ".\t\t",$1,$2,$3,$4,"..." }'
80 owner=`ls -ld "$basename" | awk '{ print $3 }'`