Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
don't confuse vim highlighting
(yes, this is actually a bug in vim's shell highlighting,
but it's trivial to work around it in our code...
  • Loading branch information
v4hn committed Feb 13, 2016
1 parent 164d253 commit 945a0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/main.lunar
Expand Up @@ -137,7 +137,7 @@ expand_cache_safe() {(
TMP_TARGETS=$(temp_create "resurrect.targets.$MODULE")
tar tf $1 > $TMP_TARGETS
TMP_TARGETS_OK=$(temp_create "resurrect.targets_OK.$MODULE")
# do directories: we don't care here
# do directories: we don`t care here
# the sed trick is advanced: a non-greedy pattern that returns all
# directory names listed in the input
for TARGET in $(cat "$TMP_TARGETS" | sed 's/\/[^\/]*$/\//g' ) ; do
Expand Down

0 comments on commit 945a0e7

Please sign in to comment.