summaryrefslogtreecommitdiffstats
path: root/mkarchroot
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-11-29 04:20:24 +0100
committerDan McGee <dan@archlinux.org>2007-11-29 04:20:24 +0100
commitf05495dfc83739c795b5de9cf18e4cd6f29a7803 (patch)
treefc215294dc4a724d747648ceaef318f407d7c747 /mkarchroot
parentc229a696a23bf99c4dd8c4b40d942b74c0da1672 (diff)
downloaddevtools-f05495dfc83739c795b5de9cf18e4cd6f29a7803.tar.gz
devtools-f05495dfc83739c795b5de9cf18e4cd6f29a7803.tar.xz
Whitespace fixes/cleanup to all of the scripts
Add the same vim modeline to all the files, as well as cleanup the newly added scripts a bit. If you look at this diff with the -w option, you'll see it really isn't all that significant. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mkarchroot')
-rwxr-xr-xmkarchroot8
1 files changed, 4 insertions, 4 deletions
diff --git a/mkarchroot b/mkarchroot
index dbe8344..e3d4a7d 100755
--- a/mkarchroot
+++ b/mkarchroot
@@ -98,7 +98,7 @@ chroot_umount ()
# }}}
if [ "$RUN" != "" ]; then
-# run chroot {{{
+ # run chroot {{{
#Sanity check
if [ ! -f "${working_dir}/.arch-chroot" ]; then
echo "error: '${working_dir}' does not appear to be a Arch chroot"
@@ -111,9 +111,9 @@ if [ "$RUN" != "" ]; then
echo "starting chroot ($RUN)"
chroot "${working_dir}" ${RUN}
-# }}}
+ # }}}
else
-# {{{ build chroot
+ # {{{ build chroot
if [ -e "${working_dir}" -a "${FORCE}" = "n" ]; then
echo "error: working dir '${working_dir}' already exists - try using -f"
exit 1
@@ -174,7 +174,7 @@ else
if [ ! -e "${working_dir}/.arch-chroot" ]; then
date +%s > "${working_dir}/.arch-chroot"
fi
-# }}}
+ # }}}
fi
# vim:ft=sh:ts=4:sw=4:et: