summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-28 19:33:44 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-28 19:33:44 -0600
commite5c22aaf01484e7fa5926952bbcacd56228dbb64 (patch)
tree9e73731dc9c039a95fa99b08debccbb34ed75a18 /src
parentb4341ef8e90abe99d188dc444ff837a7aba756fa (diff)
librechroot: fix typos, add unit testtesting-20130528.2
Diffstat (limited to 'src')
-rwxr-xr-xsrc/chroot-tools/librechroot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index ed00688..0fd621b 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -32,7 +32,7 @@ normshell() (
"$@"
)
-make_emtpy_repo() {
+make_empty_repo() {
local copydir=$1
mkdir -p "${copydir}/repo"
bsdtar -czf "${copydir}/repo/repo.db.tar.gz" -T /dev/null
@@ -175,7 +175,7 @@ main() {
set +u # if archroot_args is empty, it counts as unbound
archroot "${archroot_args[@]}" -m "$rootdir" base-devel
set -u
- make_empty_repo "$copydir"
+ make_empty_repo "$rootdir"
fi
if [[ ! -d $copydir ]] || [[ $mode == sync ]]; then