xref: /trunk/main/solenv/bin/newfolderforce (revision d93c3826)
1*d93c3826Smseidel#rg 16.6.981*d93c3826Smseidel# *************************************************************1*d93c3826Smseidel#1*d93c3826Smseidel#  Licensed to the Apache Software Foundation (ASF) under one1*d93c3826Smseidel#  or more contributor license agreements.  See the NOTICE file1*d93c3826Smseidel#  distributed with this work for additional information1*d93c3826Smseidel#  regarding copyright ownership.  The ASF licenses this file1*d93c3826Smseidel#  to you under the Apache License, Version 2.0 (the1*d93c3826Smseidel#  "License"); you may not use this file except in compliance1*d93c3826Smseidel#  with the License.  You may obtain a copy of the License at1*d93c3826Smseidel#1*d93c3826Smseidel#    http://www.apache.org/licenses/LICENSE-2.01*d93c3826Smseidel#1*d93c3826Smseidel#  Unless required by applicable law or agreed to in writing,1*d93c3826Smseidel#  software distributed under the License is distributed on an1*d93c3826Smseidel#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY1*d93c3826Smseidel#  KIND, either express or implied.  See the License for the1*d93c3826Smseidel#  specific language governing permissions and limitations1*d93c3826Smseidel#  under the License.1*d93c3826Smseidel#1*d93c3826Smseidel# *************************************************************1*d93c3826Smseidel1*d93c3826Smseidelif {#} != 11*d93c3826Smseidel	echo emuliert "mkdir -p"1*d93c3826Smseidel	echo d.h. des gesamte Directory-Baum wird angelegt1*d93c3826Smseidel	exit1*d93c3826Smseidelend1*d93c3826Smseidel1*d93c3826Smseidelset wo "{1}"1*d93c3826Smseidelset regex ""1*d93c3826Smseidel1*d93c3826Smseidelset exit 01*d93c3826Smseidelfor i in  in 1 2 3 4 5 6 7 8 9 101*d93c3826Smseidelset regex "{regex}[�:]+:"1*d93c3826Smseidel(evaluate "{wo}" =~ /([:]+{regex})�1�/) > Dev:null1*d93c3826Smseidelif not `exists -d "{�1}"`1*d93c3826Smseidelnewfolder "{�1}"1*d93c3826Smseidelend1*d93c3826Smseidelend1*d93c3826Smseidelset exit 11*d93c3826Smseidel