summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-11 07:11:36 +0000
committerobrien <obrien@FreeBSD.org>2000-11-11 07:11:36 +0000
commitefa3fc82ba5e2cc8062f74b0cc2b46abec2564c3 (patch)
tree8286c6863774a191eaba07a19114db157ed5392f
parent19fd5b1366ed56e3e62899a5bfbda6d2c3969f38 (diff)
downloadFreeBSD-src-efa3fc82ba5e2cc8062f74b0cc2b46abec2564c3.zip
FreeBSD-src-efa3fc82ba5e2cc8062f74b0cc2b46abec2564c3.tar.gz
Create the various required directories if they don't exist.
-rwxr-xr-xrelease/scripts/X11/package_x_dists.sh10
1 files changed, 10 insertions, 0 deletions
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
OpenPOWER on IntegriCloud