Skip to content

Commit d7fdfc0

Browse files
committed
pushpkg: use absolute path
1 parent 9d568c3 commit d7fdfc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pushpkg/pushpkg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Usage:
4848
4949
Options:
5050
51-
-c: [COMPONENT]: (Optional) Repository component (main, bsp-sunxi, etc.)
51+
-c [COMPONENT]: (Optional) Repository component (main, bsp-sunxi, etc.)
5252
Falls back to "main" if not specified.
5353
-d: pushpkg after clean OUTPUT directory
5454
-v: ssh and rsync verbose
@@ -77,5 +77,5 @@ for i in debs/*/*; do
7777
done
7878

7979
if [ $AFTER_CLEAN_DIRECTORY = 1 ]; then
80-
rm -rfv ./*
80+
sudo rm -rv $(pwd)/debs
8181
fi

0 commit comments

Comments
 (0)