From c1c3457fbd57c703226f4f0ece74cb8c339a142e Mon Sep 17 00:00:00 2001 From: illiliti Date: Sun, 15 Aug 2021 10:38:07 +0300 Subject: [PATCH] tinyramfs: minor changes --- tinyramfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tinyramfs b/tinyramfs index f356320..8830642 100755 --- a/tinyramfs +++ b/tinyramfs @@ -28,7 +28,7 @@ init_base() # https://shellcheck.net/wiki/SC2015 # shellcheck disable=2015 - [ "$debug" ] && set -x || trap 'rm -rf $tmpdir' EXIT INT + [ "$debug" ] && set -x || trap 'rm -rf "$tmpdir"' EXIT INT ( cd "$tmpdir" @@ -47,7 +47,7 @@ init_base() ln -s ../run/lock var/lock ln -s bin usr/sbin - ln -s lib/tinyramfs/init.sh init + ln -s lib/tinyramfs/init.sh init ln -s ../lib/tinyramfs/helper.sh bin/helper )