Skip to content

Commit

Permalink
fix PIJACK
Browse files Browse the repository at this point in the history
  allow . in package list
  • Loading branch information
jordan committed Feb 19, 2021
1 parent ecb203f commit ea83bdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pibox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ then
fi

# -----------------------------------------------------------------------------
# Delete all clons in cache
# Delete all clones in cache
# -----------------------------------------------------------------------------

if [ -n "$CCACHECLN" ]
Expand Down
2 changes: 1 addition & 1 deletion pijack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ pijack_ssh_apt_install () { # syntax: [packages] ...
pijack_verify_ssh_available

# sanitise package list
local pkgs=`echo -n "$raw_pkgs"|tr -c '[:alnum:]:*+-' ' '|sed 's/ */ /g'`
local pkgs=`echo -n "$raw_pkgs"|tr -c '[:alnum:]:.*+-' ' '|sed 's/ */ /g'`

# needs to run as SSH command (piping through /bin/sh causes APT to
# complain; it seems that a pseudo tty must be available)
Expand Down

0 comments on commit ea83bdd

Please sign in to comment.