Skip to content

Commit

Permalink
[Fixed] 'dlf' with no-args should get a login shell
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Dykeman committed Oct 3, 2018
1 parent 8875651 commit 2b019fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
if `which docker > /dev/null`; then
if [ $# -eq 0 ]; then
docker run -v $PWD:/scan -it licensefinder/license_finder
docker run -v $PWD:/scan -it licensefinder/license_finder /bin/bash -l
else
docker run -v $PWD:/scan -it licensefinder/license_finder /bin/bash -lc "cd /scan && `echo $@`"
fi
Expand Down

0 comments on commit 2b019fb

Please sign in to comment.