aboutsummaryrefslogtreecommitdiff
path: root/bin/app-init
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-30 20:50:18 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-30 20:50:18 +0100
commit3b3c80db30af556d5da7301037bf16782216d0bd (patch)
tree8d4c5dac1a73e9a5bd0af4923982bc84566ffd24 /bin/app-init
parenta4215743db91c4b7050dfda32a670814a101b773 (diff)
downloadapp.sh-3b3c80db30af556d5da7301037bf16782216d0bd.tar.gz
app.sh-3b3c80db30af556d5da7301037bf16782216d0bd.tar.bz2
app.sh-3b3c80db30af556d5da7301037bf16782216d0bd.tar.xz
app.sh-3b3c80db30af556d5da7301037bf16782216d0bd.zip
bin/app-init:
o Adding -p to mkdir so parent directories are created. libexec/app-resolver-maven: o Not using command expansion to make sure "set -e" works as normal. o Adding a basic check that xmlstartlet has a useful output.
Diffstat (limited to 'bin/app-init')
-rwxr-xr-xbin/app-init2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/app-init b/bin/app-init
index d61f989..018b210 100755
--- a/bin/app-init
+++ b/bin/app-init
@@ -56,7 +56,7 @@ then
exit 1
fi
-mkdir -- "$dir" "$dir/.app"
+mkdir -p -- "$dir" "$dir/.app"
cd "$dir"
app-conf set app.resolver "$resolver_name"