`/bin/sh` isn't always an alias of `/bin/bash`, so bash-specific syntax broke the scripts.
(like 777a9ae6e4/scripts/_get-test-directories.sh (L7))
13 lines
170 B
Bash
Executable File
13 lines
170 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
read -p "Username: " username
|
|
|
|
for f in packages/*; do
|
|
package=`basename $f`
|
|
|
|
if [ -d "$f" ]; then
|
|
npm owner add $username $package
|
|
fi
|
|
done
|