diff --git a/dotfiles-old/clone.sh b/dotfiles-old/clone.sh index 0be3a4b..5b35b8e 100755 --- a/dotfiles-old/clone.sh +++ b/dotfiles-old/clone.sh @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/sh -e SRC="$HOME" DEST="$(pwd)" [ "$(printf "Abort.\nContinue.\n" | dmenu -p "Copying from '$SRC' to '$DEST'. Continue?")" = "Continue." ] || exit -set -ex +set -x for dir in $(cat manifest_dir); do if ! [ -d "$SRC/$dir" ]; then