summaryrefslogtreecommitdiff
path: root/.travis/install
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-29 00:25:18 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-29 00:25:18 -0500
commita7470fa5989aa0d91845a5e9d4b5e0dba3495607 (patch)
treea99713b9b8d3f2b8bad891f4d8cb3c67db74c36c /.travis/install
parentc17a273993c153d0e00163d720390e826b7e328a (diff)
downloadgcompat-a7470fa5989aa0d91845a5e9d4b5e0dba3495607.tar.gz
gcompat-a7470fa5989aa0d91845a5e9d4b5e0dba3495607.tar.bz2
gcompat-a7470fa5989aa0d91845a5e9d4b5e0dba3495607.tar.xz
gcompat-a7470fa5989aa0d91845a5e9d4b5e0dba3495607.zip
travis: Create clone dir after user account
Diffstat (limited to '.travis/install')
-rwxr-xr-x.travis/install4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis/install b/.travis/install
index c1a1368..f8e1afe 100755
--- a/.travis/install
+++ b/.travis/install
@@ -17,6 +17,6 @@ mount -t sysfs none sys
mount -R /dev dev
mount -R /run run
ln -s /run/shm dev/shm
-mkdir ./$CLONE_DIR
-mount -B $CLONE_DIR ./$CLONE_DIR
chroot "$NEWROOT" useradd -m -c "Travis User" -s /bin/sh -G wheel -u $SUDO_UID $SUDO_USER
+mkdir -p ./$CLONE_DIR
+mount -B $CLONE_DIR ./$CLONE_DIR