Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/makechrootpkg
diff options
context:
space:
mode:
Diffstat (limited to 'makechrootpkg')
-rwxr-xr-xmakechrootpkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/makechrootpkg b/makechrootpkg
index 4c26673..1434d2d 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
@@ -76,7 +76,7 @@ fi
[ -d "$chrootdir/rw" ] || mkdir "$chrootdir/rw"
[ -d "$chrootdir/union" ] || mkdir "$chrootdir/union"
-function cleanup ()
+cleanup ()
{
echo "cleaning up unioned mounts"
umount "$chrootdir/union"