summaryrefslogtreecommitdiffstats
path: root/gen-perl-pkg
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-04-22 22:24:24 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-04-22 22:24:24 +0200
commit2a5f8639fcc21add3f9161d4986542005d4b1833 (patch)
tree16e9f0e4d64bfd1c2f0f8bb4008d0949497af968 /gen-perl-pkg
parent31da047b3c06927bd80b78071119678004371098 (diff)
downloadbin-2a5f8639fcc21add3f9161d4986542005d4b1833.tar.gz
bin-2a5f8639fcc21add3f9161d4986542005d4b1833.tar.xz
misc
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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"