X-Git-Url: http://git.silcnet.org/gitweb/?p=autodist.git;a=blobdiff_plain;f=apps%2Fautodist%2Fautodist.in;h=2669347c95cd69ff8f99a3b585d692e0b02f88a9;hp=85f36d9ded0481afe8d6e3db44a8d2f7a2ee7667;hb=10b40f2304ad8b7e5d8468f8b0d1fd106986066a;hpb=69c64a75b795239b0bb1346f69e47e3e5c6e2ac5 diff --git a/apps/autodist/autodist.in b/apps/autodist/autodist.in index 85f36d9..2669347 100755 --- a/apps/autodist/autodist.in +++ b/apps/autodist/autodist.in @@ -228,7 +228,7 @@ ad_initialize() # Create default distdir if test '!' -f $distdir; then - mkdir -p $distdir + mkdir -p -- $distdir fi # Create Autodist configuration file @@ -642,7 +642,7 @@ ad_dist_includes() d=`echo $src | sed 's,/[^/]*$,,'` if test "$d" != "$src" && test "$d" != "." && \ test '!' -d $am_distdir/$d; then - mkdir -p $am_distdir/$d || exit 1 + mkdir -p -- $am_distdir/$d || exit 1 fi else # Add to different location @@ -654,7 +654,7 @@ ad_dist_includes() d=`echo $dst | sed 's,/[^/]*$,,'` if test "$d" != "$dst" && test "$d" != "." && \ test '!' -d $am_distdir/$d; then - mkdir -p $am_distdir/$d || exit 1 + mkdir -p -- $am_distdir/$d || exit 1 fi fi @@ -677,7 +677,7 @@ ad_dist_includes() d="" fi if test '!' -d $am_distdir/$d && test "$ds" != "$d"; then - mkdir -p $am_distdir/$d || exit 1 + mkdir -p -- $am_distdir/$d || exit 1 fi if test x$3 = xtrue; then @@ -697,7 +697,7 @@ ad_dist_includes() d=`echo $d | sed 's,/[^/]*$,,'` fi if test '!' -d $am_distdir/$d && test "$dst" != "$d"; then - mkdir -p $am_distdir/$d || exit 1 + mkdir -p -- $am_distdir/$d || exit 1 fi if test x$3 = xtrue; then @@ -1456,7 +1456,7 @@ ad_process_noprocess() f="$cur/autodist__noprocess" rm -rf $f - mkdir -p $f || exit 1 + mkdir -p -- $f || exit 1 # First, include them to new location with correct directory structure. old_am_distdir="$am_distdir"