mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 10:06:39 +00:00
Rebuild bin/dotify
This commit is contained in:
@@ -121,6 +121,11 @@ compile-dotfile() {
|
||||
local dotfile="$1"
|
||||
if [ -z "$dotfile" ]; then dotfile="$DOTFILE"; fi
|
||||
|
||||
if [ ! -f "$dotfile" ]; then
|
||||
echo "ERROR: \"$dotfile\" does not exist." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
local output=""
|
||||
local line=""
|
||||
while IFS= read line; do
|
||||
@@ -263,7 +268,7 @@ dotify-compile() {
|
||||
locate-dotfile
|
||||
if [ "$?" != "0" ]; then return 1; fi
|
||||
|
||||
compile-dotfile
|
||||
compile-dotfile "$DOTFILE"
|
||||
return $?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user