summaryrefslogtreecommitdiffstats
path: root/gen-perl-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'gen-perl-pkg')
-rwxr-xr-xgen-perl-pkg4
1 files changed, 2 insertions, 2 deletions
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"