Skip to content

Commit

Permalink
Revert "fix perl;add bash"
Browse files Browse the repository at this point in the history
This reverts commit be8b911.
  • Loading branch information
lbartoletti committed Jan 15, 2018
1 parent c41186c commit c033b34
Show file tree
Hide file tree
Showing 30 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion ms-windows/cygwin/package.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# package.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion ms-windows/quickpackage.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# quickpackage.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/addcopyright.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# addcopyright.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/astyle-all.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# astyle-all.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/astyle-rollback.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# astyle-rollback.sh
# ---------------------
Expand Down
6 changes: 3 additions & 3 deletions scripts/astyle.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# astyle.sh
# ---------------------
Expand Down Expand Up @@ -77,8 +77,8 @@ astyleit() {
$ASTYLE --options="$ASTYLEOPTS" "$1"
modified=$1.unify_includes_modified
cp "$1" "$modified"
perl scripts/unify_includes.pl -i.sortinc -n "$modified"
perl scripts/doxygen_space.pl -0 -i.sortinc -n "$modified"
scripts/unify_includes.pl "$modified"
scripts/doxygen_space.pl "$modified"
diff "$1" "$modified" >/dev/null || mv "$modified" "$1"
rm -f "$modified"
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_debian_package.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# build_debian_package.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/chkcopyrights.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# chkcopyrights.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/chkspelling.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# chkspelling.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/chstroke.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# chstroke.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/create-transifex-resources.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# create-transifex-resources.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/customwidget_create.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash

# This script automatically creates custom widget plugin for a given widget class name.
# Use customwidget_create.sh QgsColorButton to create QgsColorButtonPlugin files.
Expand Down
2 changes: 1 addition & 1 deletion scripts/dbdiff.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash

if [ "$1" = "-h" ]; then
echo "usage: $0 [-h] [database] [sha1] [sha2]"
Expand Down
2 changes: 1 addition & 1 deletion scripts/doxygen_space.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/env perl -0 -i.sortinc -n
###########################################################################
# doxygen_space.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/jenkins-run.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash

if [ -d build ]
then
Expand Down
2 changes: 1 addition & 1 deletion scripts/make-tarball.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# make-tarball.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/make_gource_video.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# make_gource_video.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/pull_ts.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# pull_ts.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/push_ts.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# push_ts.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/remove_non_svn_files.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# remove_non_svn_files.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/remove_temporary_files.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# remove_git_confict_files.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/rename_class.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash

#

Expand Down
2 changes: 1 addition & 1 deletion scripts/replacev2.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash

set -e

Expand Down
2 changes: 1 addition & 1 deletion scripts/sort_include.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# sort_include.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/spell_check/spell_test.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
set -e


Expand Down
2 changes: 1 addition & 1 deletion scripts/unify_includes.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/env perl -i.sortinc -n
###########################################################################
# unify_includes.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-indent.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# update-indent.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_ts.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# update_ts.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_ts_files.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# update_ts_files.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify-indentation.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
cd $(git rev-parse --show-toplevel)

export PATH=$PATH:$PWD/scripts
Expand Down

0 comments on commit c033b34

Please sign in to comment.