From 084402a10322ee126a3751a6f9ee3f147c2f708e Mon Sep 17 00:00:00 2001 From: merakor Date: Tue, 9 Nov 2021 09:58:25 +0000 Subject: cpt-remove: fix shellcheck error FossilOrigin-Name: 07c7f7449592259d1eb410762d36296beabb81e6c2c5ebde0711e1da74d41f74 --- src/cpt-remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cpt-remove b/src/cpt-remove index cce3739..ae007eb 100755 --- a/src/cpt-remove +++ b/src/cpt-remove @@ -10,7 +10,7 @@ parser_definition() { if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi -[ "$1" ] || { set -- "${PWD##*/}"; export CPT_PATH=${PWD%/*}:$CPT_PATH ;} +[ "$1" ] || { set -- "${PWD##*/}"; export CPT_PATH="${PWD%/*}:$CPT_PATH" ;} [ -w "$CPT_ROOT/" ] || [ "$uid" = 0 ] || { as_root "$0" "$@" -- cgit v1.2.3