Commit 623c9a7b by Eric Coissac

--no commit message

parent 7b5a55dd
......@@ -37232,13 +37232,13 @@ CwABBPUBAAAEFAAAAFBLBQYAAAAAlwGXAVqqAABMtB8AAAA=\
install_script="""\
#!/bin/bash
binpath=%s/bin
binpath='%s/bin'
system=`uname -s`
if [ "$system" == "Darwin" ]
then
loginshell=`dscl . -read /Users/\`whoami\` UserShell | awk '{print $NF}'`
parent=`$binpath/pidname $PPID | awk '{print $NF}'`
parent=`"$binpath/pidname" $PPID | awk '{print $NF}'`
else
loginshell=`getent passwd \`whoami\` | awk -F ':' '{print $NF}'`
parent=`readlink /proc/$PPID/exe`
......@@ -37263,7 +37263,7 @@ else
activate="$binpath/activate"
fi
$target -c "source $activate; $target"
$target -c "source \\"$activate\\"; $target"
echo
echo %s are no more activated, Bye...
......@@ -37446,6 +37446,9 @@ def main():
st = os.stat(activate)
os.chmod(activate, st.st_mode | stat.S_IEXEC)
shutil.rmtree(os.path.join(virtualenvname,'src'), ignore_errors=True)
shutil.copytree(filename, os.path.join(virtualenvname,'src'), symlinks=True)
cleanModules()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment