1
0
şunun yansıması https://github.com/vaadin/framework.git eşitlendi 2024-08-05 08:17:31 +02:00
vaadin-framework/scripts/sed.sh
Artur Signell 7f80616bec Scripts for removing trailing whitespace
Change-Id: I938c57509bf6be34ee8a6f22edd7f8e0a43ee3bd
2016-08-18 08:24:55 +00:00

16 satır
253 B
Bash

#!/bin/bash
# Must use gsed on Mac
if [[ "$OSTYPE" == "darwin"* ]]
then
export SED=`which gsed`
else
export SED=`which sed`
fi
if [ ! -x "$SED" ]
then
echo "Sed not found, install gsed on Mac or sed on Linux"
exit 1
fi