Skip to content

Commit

Permalink
Rename var to make way for a new var
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishcoleman committed Apr 2, 2018
1 parent 40c8fb0 commit 1d4e821
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/get_deb
Expand Up @@ -11,14 +11,14 @@ shift
REPO_KEY="$1"
shift

REPO="$1"
REPO_SRC="$1"
shift

OUTDIR="$1"
shift

if [ -z "$ARCH" -o -z "$REPO_KEY" -o -z "$REPO" -o -z "$OUTDIR" -o -z "$1" ]; then
echo "Usage: $0 arch repo_key repo unpackdir pkg..."
if [ -z "$ARCH" -o -z "$REPO_KEY" -o -z "$REPO_SRC" -o -z "$OUTDIR" -o -z "$1" ]; then
echo "Usage: $0 arch repo_key repo_sources unpackdir pkg..."
exit 1
fi

Expand All @@ -35,7 +35,7 @@ TMP=./meta
mkdir -p "$TMP"

mkdir -p $TMP/etc/apt/sources.list.d
echo "$REPO" >$TMP/etc/apt/sources.list.d/repo.list
echo "$REPO_SRC" >$TMP/etc/apt/sources.list.d/repo.list

TRUSTED=$TMP/etc/apt/trusted.gpg
# It would be nice to fill the keyring..
Expand Down

0 comments on commit 1d4e821

Please sign in to comment.