Skip to content

Commit

Permalink
Some format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cclerget committed May 4, 2018
1 parent 40fdd0c commit 02a2885
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makeit/gengodep
Expand Up @@ -3,10 +3,10 @@
repo="github.com/singularityware/singularity"
path=$(readlink -f $1)
gofiles="$path"
prefix=${path%$repo*}

for dep in $(go list -f '{{ .Deps }}' $1 | tr -d '[]'); do
if [ ! -n "${dep%$repo*}" ]; then
prefix=${path%$repo*}
if [ ! -n "${dep%$repo*}" ]; then
for gofile in $(find $prefix$dep -name "*.go"); do
gofiles="$gofiles $gofile"
done
Expand Down

0 comments on commit 02a2885

Please sign in to comment.