aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-12-28 17:50:53 -0600
committerTim Keller <tjk@tjkeller.xyz>2025-12-28 17:50:53 -0600
commitcbf34860750f6ea8447549c688586e593a596118 (patch)
tree2622f2ae08e8b49105435c52c68e03dc4718bbb5
parent16d918ac65bd9bc6de8cf2b35e9389f767442d04 (diff)
downloadhm-reposync-cbf34860750f6ea8447549c688586e593a596118.tar.xz
hm-reposync-cbf34860750f6ea8447549c688586e593a596118.zip
ensure stow target is created before attempting to stow
-rwxr-xr-xreposync-functions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/reposync-functions.sh b/reposync-functions.sh
index efb4e9b..4874ad1 100755
--- a/reposync-functions.sh
+++ b/reposync-functions.sh
@@ -77,6 +77,7 @@ stowrepo() {
cd "$dir"
echo "$target: stowing packages ($packages) to $target"
+ run mkdir $VERBOSE_ARG -p "$target"
run stow $VERBOSE_ARG --restow --target="$target" $packages
}