Skip to content

Commit

Permalink
Shell script portability
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoellnitz committed Jan 15, 2025
1 parent 1182748 commit 2571e6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tag-release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright 2020-2023 Martin Goellnitz
# Copyright 2020-2025 Martin Goellnitz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
function usage {
usage() {
echo "Usage: $MYNAME [-h] [-l name] [push]" 1>&2
echo "" 1>&2
echo " -h this page" 1>&2
Expand Down
2 changes: 1 addition & 1 deletion xdg/prepare_desktop_file.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
DIR=$(dirname $(readlink -f $0))
if [ -f $DIR/../lib/JFileSync3.jar ] ; then
if [ -f ~/.config/user-dirs.dirs ] ; then
Expand Down

0 comments on commit 2571e6f

Please sign in to comment.