Skip to content

Commit b7b6b70

Browse files
committed
Delete parent directories when removing the step
1 parent 2f28e58 commit b7b6b70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/adjustEnvVars.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ KERNEL_NAME=$(uname -s | tr '[:upper:]' '[:lower:]')
167167

168168
function rmStep(){
169169
rm -rf "$@"
170+
rmdir -p --ignore-fail-on-non-empty `dirname "$@"`
170171
}
171172

172173
# Clean object dir and return the input error

0 commit comments

Comments
 (0)