Skip to content

Commit

Permalink
Fixed deployment of submodules without Git files
Browse files Browse the repository at this point in the history
  • Loading branch information
jreinke committed Apr 23, 2013
1 parent 0685309 commit 26ae5a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modgit
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

VERSION="1.0.0"
VERSION="1.0.1"
GITHUB="https://github.com/jreinke/modgit"
AUTHOR="Johann Reinke"
SCRIPT=${0##*/}
Expand Down Expand Up @@ -284,7 +284,7 @@ move_files()

[ $DRY_RUN -eq 1 ] && echo_b "Would deploy:" || echo_b "Deploying:"

for file in $(find . -type f -not -iwholename '*.git/*' | sed 's/^\.\///'); do
for file in $(find . -type f -not -iwholename '*.git*' | sed 's/^\.\///'); do
# Copy file by default
copy=1
target="$file"
Expand Down

0 comments on commit 26ae5a4

Please sign in to comment.