mkrootfs

Carbs rootfs generator
git clone git://git.carbslinux.org/mkrootfs
Log | Files | Refs | README | LICENSE

commit 97c3dbf644cf44638d70d5f95068d60f48ee1cfb
parent 2ac92f9ab14f8ae3d49b6d4f5c6820e501a120b9
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 10 Dec 2019 03:09:03 +0300

get basedir in the beginning

Diffstat:
Mmkrootfs.sh | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/mkrootfs.sh b/mkrootfs.sh @@ -9,6 +9,7 @@ msg() { printf "\033[1;35m=>\033[m $1\\n" ;} error() { msg "\033[1;31mERROR: \033[m$1" ;} >&2 die() { error "$1"; exit 1 ;} ask() { printf "\033[1;33m== $1 ==\\n(y/N) "; read ans; case "$ans" in [Yy]*) return 0 ;; *) return 1 ;; esac ;} +BASEDIR="$PWD" # If there is no config file, we copy config.def