From 2a5f8639fcc21add3f9161d4986542005d4b1833 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 22 Apr 2018 22:24:24 +0200 Subject: misc Signed-off-by: Florian Pritz --- gen-perl-pkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gen-perl-pkg') diff --git a/gen-perl-pkg b/gen-perl-pkg index 1e34216..46e5d18 100755 --- a/gen-perl-pkg +++ b/gen-perl-pkg @@ -12,7 +12,7 @@ for pkg in "$@"; do for target in "${targets[@]}"; do if [[ -f "$target/$pkg/trunk/PKGBUILD" ]]; then found_pkg=1 - vimdiff "$HOME/pkg/dest/$pkg/PKGBUILD" "$target/$pkg/trunk/PKGBUILD" + vimdiff "$target/$pkg/trunk/PKGBUILD" "$HOME/pkg/dest/$pkg/PKGBUILD" fi done @@ -23,7 +23,7 @@ for pkg in "$@"; do fi echo "Package not found, creating new in '$target_new/$pkg/trunk'" - mkdir -p "$target/$pkg/"{trunk,repos} + mkdir -p "$target_new/$pkg/"{trunk,repos} cp "$HOME/pkg/dest/$pkg/PKGBUILD" "$target_new/$pkg/trunk/" cd "$target_new" svn add "$pkg" -- cgit v1.2.3-24-g4f1b