summaryrefslogtreecommitdiff
path: root/localezcreate
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-02-11 02:50:18 +0000
committerJonas Smedegaard <dr@jones.dk>2002-02-11 02:50:18 +0000
commitfb5240746d1f62ce4f1e3d66b1e2053e1e336d25 (patch)
tree066b9837ccc4d51aa545c11b021ce0c520e041eb /localezcreate
parent79c5857410cd5616ccacf480866f19061369797e (diff)
tar needs to be executed from a readable directory, even if target dir is set (found out when running from /root).localezcreate
Diffstat (limited to 'localezcreate')
-rwxr-xr-xlocalezcreate1
1 files changed, 1 insertions, 0 deletions
diff --git a/localezcreate b/localezcreate
index 3198541..857e28f 100755
--- a/localezcreate
+++ b/localezcreate
@@ -106,6 +106,7 @@ cat $sqldir/$sqlfile | mysql -uroot -p$dbrootpw $db
echo -n "Unpacking tarballs:"
su $uid -c "
mkdir $basedir
+ cd $basedir
for tarball in $tarballs; do
echo -n \" \$tarball\"
tar -xz -C $basedir -f $srcdir/\$tarball.tar.gz