From efa3fc82ba5e2cc8062f74b0cc2b46abec2564c3 Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 11 Nov 2000 07:11:36 +0000 Subject: Create the various required directories if they don't exist. --- release/scripts/X11/package_x_dists.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/release/scripts/X11/package_x_dists.sh b/release/scripts/X11/package_x_dists.sh index d83c268..6648fe9 100755 --- a/release/scripts/X11/package_x_dists.sh +++ b/release/scripts/X11/package_x_dists.sh @@ -47,6 +47,16 @@ if ! ${work_dir}/scripts/build_x.sh ${work_dir}/tmp; then exit 1 fi +if ! mkdir -p ${plist_dir}; then + echo "Could not create plist dir [${plist_dir}]!" + echo + usage +fi +if ! mkdir -p ${tarball_dir}; then + echo "Could not create tarball dir [${tarball_dir}]!" + echo + usage +fi # now package it up into tarballs if ! ${work_dir}/scripts/generate_tarballs.sh \ ${work_dir}/tmp/usr/X11R6 ${plist_dir} ${tarball_dir}; then -- cgit v1.1