Browse Source

Added #!/bin/bash to top-level scripts

experiments/enhance-sync
Sven Karsten 4 months ago
parent
commit
616e626b3b
  1. 2
      archive_setup.sh
  2. 2
      build.sh
  3. 2
      deploy_setups.sh
  4. 2
      run.sh
  5. 2
      sync.sh

2
archive_setup.sh

@ -1,3 +1,5 @@
#!/bin/bash
if [ ! $# -eq 3 ]; then
echo "Usage: `basename "$0"` <target-key> <base-setup-key> <archive-setup-key>"
exit

2
build.sh

@ -1,3 +1,5 @@
#!/bin/bash
target=$1
debug=${2:-"release"}
fast=${3:-"fast"}

2
deploy_setups.sh

@ -1,3 +1,5 @@
#!/bin/bash
if [ ! $# -eq 2 ]; then
echo "Usage: `basename "$0"` <target-key> <setup-key>"
exit

2
run.sh

@ -1,3 +1,5 @@
#!/bin/bash
if [ $# -eq 0 ]; then
echo "Usage: `basename "$0"` <target-key> [<update_from_local_setup>]"
echo "<target-key> is one key that is contained in your ./DESTINATIONS file."

2
sync.sh

@ -1,3 +1,5 @@
#!/bin/bash
src=$1
dst=$2
timeout=${3:-5}

Loading…
Cancel
Save