diff options
author | Daniel Francis <francis@sugarlabs.org> | 2012-11-02 11:29:39 (GMT) |
---|---|---|
committer | Daniel Francis <francis@sugarlabs.org> | 2012-11-02 11:29:39 (GMT) |
commit | aec34066743a1d533c6f7af762e6b3685b6aba84 (patch) | |
tree | 55a7212612aabc65edc26cc757350dc757a1b097 | |
parent | 1a879f274025b32fb114df9f8705311024a1b5b6 (diff) |
Install script
Signed-off-by: Daniel Francis <francis@sugarlabs.org>
-rw-r--r-- | install | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +#!/usr/bin/env python +# +# Copyright 2012 Daniel Francis <francis@sugarlabs.org> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1301, USA. + + +import os + +self_path = os.path.abspath(__file__) +current_list_dir = os.path.split(self_path)[:-1][0] +os.chdir(current_list_dir) +os.system('make local')
\ No newline at end of file |