Skip to content

Commit

Permalink
use python3 by default (/usr/bin/python not available on 16.04)
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Apr 3, 2017
1 parent 804bb0f commit 9d18ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/install_dotfiles
Expand Up @@ -9,7 +9,7 @@ for file in `cd $SOURCE && find . -type f | perl -pnE 's{\./}{}'`; do
dst=".$file"

# 'etc/dotfiles' + '.config/karabiner/karabiner.json' -> '../../etc/dotfiles'
src_dir=$(python -c "import os.path; import sys; print(os.path.relpath(sys.argv[1], os.path.dirname(sys.argv[2])))" $SOURCE $dst)
src_dir=$(python3 -c "import os.path; import sys; print(os.path.relpath(sys.argv[1], os.path.dirname(sys.argv[2])))" $SOURCE $dst)

src="$src_dir/$file"

Expand Down

0 comments on commit 9d18ef3

Please sign in to comment.