Skip to content

Commit c5c00ff

Browse files
committed
fix: Ensure 'dependencies' file is actually created
1 parent 48c3f2f commit c5c00ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/lib/util/util.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ util.init_global() {
4444
mkdir -p "$BASALT_GLOBAL_DATA_DIR/store"
4545
fi
4646
if [ ! -f "$BASALT_GLOBAL_DATA_DIR/global/dependencies" ]; then
47-
"$BASALT_GLOBAL_DATA_DIR/global/dependencies"
47+
touch "$BASALT_GLOBAL_DATA_DIR/global/dependencies"
4848
fi
4949

5050
# Note that I would prefer to check the existence of the target directory as well, but that would mean if the user installs

0 commit comments

Comments
 (0)