summaryrefslogtreecommitdiffstats
path: root/prog/jelka/chroot.sh
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-11-30 22:41:19 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-11-30 22:41:19 +0100
commit3c12fb1ac006f2c394f182f3ca26f16024f15492 (patch)
tree513333309ee80b61465a2d3f01f7dc7f43363716 /prog/jelka/chroot.sh
parentDN05 (diff)
downloadr-3c12fb1ac006f2c394f182f3ca26f16024f15492.tar
r-3c12fb1ac006f2c394f182f3ca26f16024f15492.tar.gz
r-3c12fb1ac006f2c394f182f3ca26f16024f15492.tar.bz2
r-3c12fb1ac006f2c394f182f3ca26f16024f15492.tar.lz
r-3c12fb1ac006f2c394f182f3ca26f16024f15492.tar.xz
r-3c12fb1ac006f2c394f182f3ca26f16024f15492.tar.zst
r-3c12fb1ac006f2c394f182f3ca26f16024f15492.zip
Diffstat (limited to '')
-rwxr-xr-xprog/jelka/chroot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/prog/jelka/chroot.sh b/prog/jelka/chroot.sh
index 3d92d2c..f1db05b 100755
--- a/prog/jelka/chroot.sh
+++ b/prog/jelka/chroot.sh
@@ -1,5 +1,6 @@
-#!/bin/sh
+#!/bin/bash
set -xeuo pipefail
+mkdir -p $2
mount -t tmpfs -o nr_blocks=1,mode=0755 tmp $2
if [ x$1 = xstart ]
then