From 6e704feb5f40c65ca7aba5b058d77249761c1156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Mon, 27 Jun 2011 20:53:35 -0300 Subject: Specify trunk dir. Now repo goes first($1). --- diff-unfree | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'diff-unfree') diff --git a/diff-unfree b/diff-unfree index 86a537f..e4004d6 100755 --- a/diff-unfree +++ b/diff-unfree @@ -27,7 +27,7 @@ custom_config=$XDG_CONFIG_HOME/libretools/libretools.conf msg "Diff-Unfree helps you diff build scripts from ABSLibre against (Unfree) ABS. Package name and repo will we guessed if you don't specify them." - msg2 "Usage: $0 [repo] [unfree-package]" + msg2 "Usage: $0 [community|packages] [unfree-package] [repo]" exit 0 } @@ -40,6 +40,7 @@ package_guess=$(basename $PWD) repo=${1:-$(basename $(dirname $PWD))} package=${2:-${package_guess/-libre}} +trunk=${3:-trunk} tmp_dir=$(mktemp -d /tmp/${package}.XXXXXX) @@ -55,7 +56,7 @@ case $repo in ;; esac -unfree_dir="${tmp_dir}/${svnrepo}/${package}/trunk" +unfree_dir="${tmp_dir}/${svnrepo}/${package}/${trunk}" [[ ! -d "${tmp_dir}" ]] && { error "Can't create temp dir" -- cgit v1.2.3-2-g168b From 207a930a564e8157e24c3e7f5fbe987494b73d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= Date: Tue, 28 Jun 2011 21:23:49 -0500 Subject: * Cleanup code + arch specific separated --- diff-unfree | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'diff-unfree') diff --git a/diff-unfree b/diff-unfree index 86a537f..03e4324 100755 --- a/diff-unfree +++ b/diff-unfree @@ -4,21 +4,21 @@ # Copyright 2010 Nicolás Reynolds # ---------- GNU General Public License 3 ---------- - -# This file is part of Parabola. - -# Parabola 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 3 of the License, or -# (at your option) any later version. - -# Parabola 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 Parabola. If not, see . + +# This file is part of Parabola. + +# Parabola 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 3 of the License, or +# (at your option) any later version. + +# Parabola 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 Parabola. If not, see . source /etc/libretools.conf custom_config=$XDG_CONFIG_HOME/libretools/libretools.conf -- cgit v1.2.3-2-g168b