bash fix
This commit is contained in:
parent
6dbbb254e2
commit
3928180cc9
|
@ -39,7 +39,7 @@ def create_plugin():
|
||||||
|
|
||||||
name = options.name.replace(" ", "_")
|
name = options.name.replace(" ", "_")
|
||||||
safe_name = name.lower()
|
safe_name = name.lower()
|
||||||
plugin_base = os.path.join(options.path, name)
|
plugin_base = os.path.realpath(os.path.join(options.path, name))
|
||||||
src = os.path.join(plugin_base, safe_name)
|
src = os.path.join(plugin_base, safe_name)
|
||||||
|
|
||||||
if os.path.exists(plugin_base):
|
if os.path.exists(plugin_base):
|
||||||
|
@ -316,8 +316,7 @@ GPL = """#
|
||||||
# this exception statement from your version. If you delete this exception
|
# this exception statement from your version. If you delete this exception
|
||||||
"""
|
"""
|
||||||
|
|
||||||
CREATE_DEV_LINK = """
|
CREATE_DEV_LINK = """#!/bin/bash
|
||||||
#!usr/bin/bash
|
|
||||||
cd %(plugin_base)s
|
cd %(plugin_base)s
|
||||||
mkdir temp
|
mkdir temp
|
||||||
export PYTHONPATH=./temp
|
export PYTHONPATH=./temp
|
||||||
|
|
Loading…
Reference in New Issue