code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
#
# Power OFF port 2 triger C2000-CP1
# /usr/bin/php5 /etc/wmr/C2000-CP1.php -p 2 -s 0
# /usr/bin/wmr_sendms_sms.ru.sh "Alarm! $1 ... another info ..."
# see doc/C2000CP1controlling4LineRU.pdf
# | Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
#
# Power OFF port 2 triger C2000-CP1
# /usr/bin/php5 /etc/wmr/C2000-CP1.php -p 2 -s 0
# /usr/bin/wmr_sendms_sms.ru.sh "Alarm! $1 ... another info ..."
# see doc/C2000CP1controlling4LineRU.pdf
# | Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] ;
then
echo "Alarm file for wmr-oregon weather logger"
echo "(c) 2012 Den68 <idg68@yandex.ru>"
echo "Global download URL: http://code.google.com/p/wmr/"
echo ""
echo "Use format:"
echo "(SENSOR TYPE) (NUM OF SENS... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] ;
then
echo "Alarm file for wmr-oregon weather logger"
echo "(c) 2012 Den68 <idg68@yandex.ru>"
echo "Global download URL: http://code.google.com/p/wmr/"
echo ""
echo "Use format:"
echo "(SENSOR TYPE) (NUM OF SENS... | Shell |
#!/bin/sh
if [ "$1" == "" ]
then
echo "Logrotate data file for wmr-oregon weather logger"
echo "(c) 2012 Den68 <idg68@yandex.ru>"
echo "Global download URL: http://code.google.com/p/wmr/"
echo ""
echo "Please, type: $0 -logrotate"
echo "or, insert cron job new line:"
echo " for every day:"... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] ;
then
echo "Alarm file for wmr-oregon weather logger"
echo "(c) 2012 Den68 <idg68@yandex.ru>"
echo "Global download URL: http://code.google.com/p/wmr/"
echo ""
echo "Use format:"
echo "(SENSOR TYPE) (NUM OF SENS... | Shell |
#!/bin/sh
# Call fowsr and upload data to Wunderground
wsr="/usr/bin/fowsr -w"
LOG=/var/wunderground.log
ID=$1
PASSWORD=$2
WGET=http://weatherstation.wunderground.com/weatherstation/updateweatherstation.php
WGET="$WGET?action=updateraw&ID=$ID&PASSWORD=$PASSWORD&softwaretype=fowsr&"
rm -f $LOG
$wsr
... | Shell |
#!/bin/sh
# Call fowsr and upload data to PWS Weather
wsr="/usr/bin/fowsr -s"
LOG=/var/pwsweather.log
ID=$1
PASSWORD=$2
WGET=http://www.pwsweather.com/pwsupdate/pwsupdate.php
WGET="$WGET?action=updateraw&ID=$ID&PASSWORD=$PASSWORD&softwaretype=fowsr&"
rm -f $LOG
$wsr
while read line
do
WGET2="$... | Shell |
#!/bin/sh
# Call fowsr and upload data to Wunderground
wsr="/usr/bin/fowsr -w"
LOG=/var/wunderground.log
ID=$1
PASSWORD=$2
WGET=http://weatherstation.wunderground.com/weatherstation/updateweatherstation.php
WGET="$WGET?action=updateraw&ID=$ID&PASSWORD=$PASSWORD&softwaretype=fowsr&"
rm -f $LOG
$wsr
... | Shell |
#!/bin/sh
# Call fowsr and upload data to PWS Weather
wsr="/usr/bin/fowsr -s"
LOG=/var/pwsweather.log
ID=$1
PASSWORD=$2
WGET=http://www.pwsweather.com/pwsupdate/pwsupdate.php
WGET="$WGET?action=updateraw&ID=$ID&PASSWORD=$PASSWORD&softwaretype=fowsr&"
rm -f $LOG
$wsr
while read line
do
WGET2="$... | Shell |
#!/bin/sh
# Call fowsr and upload data to pywws
wsr="/usr/bin/fowsr -p"
LOG=/var/pywws.log
UID=$1
PWD=$2
server=www.pywws.com
WPUT="$LOG ftp://$UID:$PWD@$server"
rm -f $LOG
$wsr
wput $WPUT
| Shell |
#!/bin/sh
# Call fowsr and upload data to pywws
wsr="/usr/bin/fowsr -p"
LOG=/var/pywws.log
UID=$1
PWD=$2
server=www.pywws.com
WPUT="$LOG ftp://$UID:$PWD@$server"
rm -f $LOG
$wsr
wput $WPUT
| Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity_X - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other. X - number of sensor.
wmr_humidity_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to u... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other...
wmr_humidity
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp_X - Plugin to monitor WMR weather temperature / humidity
sensors THGN801,THGR810 or other. X - number of sensor.
wmr_temp_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/w... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_rain - Plugin to monitor WMR Oregon weather rain sensors
PCR800,RGR126 or other...
wmr_rain
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the p... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity_X - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other. X - number of sensor.
wmr_humidity_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to u... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp_X - Plugin to monitor WMR weather temperature / humidity
sensors THGN801,THGR810 or other. X - number of sensor.
wmr_temp_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/w... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_uv - Plugin to monitor WMR weather UV sensors UVN800
wmr_uv
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /etc/munin/plugins/ dire... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_pressure - Plugin to monitor WMR Oregon weather pressure sensor
in main unit
wmr_pressure
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the p... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_rain - Plugin to monitor WMR Oregon weather rain sensors
PCR800,RGR126 or other...
wmr_rain
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the p... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other...
wmr_humidity
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp_X - Plugin to monitor WMR weather temperature / humidity
sensors THGN801,THGR810 or other. X - number of sensor.
wmr_temp_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/w... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity_X - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other. X - number of sensor.
wmr_humidity_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to u... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_wind - Plugin to monitor WMR weather wind sensors WGR800 or other...
wmr_wind
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /etc/... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_all_weather - Plugin to monitor WMR Oregon all weather sensors data...
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /etc/munin/pl... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_uv - Plugin to monitor WMR weather UV sensors UVN800
wmr_uv
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /etc/munin/plugins/ dire... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp - Plugin to monitor WMR weather temperature / humidity
sensors THGN801, THGR810 or other...
wmr_temp
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAG... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_water - Plugin to monitor WMR weather water temperature sensors THWR288
wmr_water
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /e... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_all_weather - Plugin to monitor WMR Oregon all weather sensors data...
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /etc/munin/pl... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp - Plugin to monitor WMR weather temperature / humidity
sensors THGN801, THGR810 or other...
wmr_temp
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAG... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp_X - Plugin to monitor WMR weather temperature / humidity
sensors THGN801,THGR810 or other. X - number of sensor.
wmr_temp_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/w... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_water - Plugin to monitor WMR weather water temperature sensors THWR288
wmr_water
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /e... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_wind - Plugin to monitor WMR weather wind sensors WGR800 or other...
wmr_wind
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /etc/... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_pressure - Plugin to monitor WMR Oregon weather pressure sensor
in main unit
wmr_pressure
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the p... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity_X - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other. X - number of sensor.
wmr_humidity_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to u... | Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
echo "If battery or powered = 0 - is Good state, 1 >... neede chande battery..."
echo ""
echo "Main station:"
sqlite3 -line ${WDB} "select battery,powered from CLOCK ORDER BY tdate DESC LIMIT 1"
for i in ${SENS}... | Shell |
#!/bin/sh
END=`date +%s`
START=`echo $END-3600 | bc` # over the hour
for i in `find /var/weather/ -name "*.rrd"`
do
rrdtool fetch /var/weather/${i}.rrd AVERAGE start $START end $END
done
| Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
for i in ${SENS}
do
echo ""
echo "Temperature sensor: #${i}"
sqlite3 -line ${WDB} "select temp,humidity from TEMP where sensor = ${i} ORDER BY tdate DESC LIMIT 1"
done
echo ""
echo "Pressure sensor:"
sqlite3 -li... | Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
# sqlite3 -line ${WDB} "SHOW TABLES LIKE 'TABLE'"
sqlite3 -line ${WDB} "SELECT name FROM sqlite_master WHERE type = 'table'"
| Shell |
#!/bin/sh
if [ "$1" == "" ]
then
echo "Please, enter name of .rrd file, no file extension!"
fi
END=`date +%s`
START=`echo $END-3600 | bc` # over the hour
rrdtool fetch /var/weather/$1.rrd AVERAGE start $START end $END
| Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
echo "If battery or powered = 0 - is Good state, 1 >... neede chande battery..."
echo ""
echo "Main station:"
sqlite3 -line ${WDB} "select battery,powered from CLOCK ORDER BY tdate DESC LIMIT 1"
for i in ${SENS}... | Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
for i in ${SENS}
do
echo ""
echo "Temperature sensor: #${i}"
sqlite3 -line ${WDB} "select MAX(temp), MIN(temp), AVG(temp), MAX(humidity), MIN(humidity),AVG(humidity) from TEMP where sensor = ${i}"
echo "Current:"... | Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
for i in ${SENS}
do
echo ""
echo "Temperature sensor: #${i}"
sqlite3 -line ${WDB} "select MAX(temp), MIN(temp), AVG(temp), MAX(humidity), MIN(humidity),AVG(humidity) from TEMP where sensor = ${i}"
echo "Current:"... | Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
for i in ${SENS}
do
echo ""
echo "Temperature sensor: #${i}"
sqlite3 -line ${WDB} "select temp,humidity from TEMP where sensor = ${i} ORDER BY tdate DESC LIMIT 1"
done
echo ""
echo "Pressure sensor:"
sqlite3 -li... | Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
# sqlite3 -line ${WDB} "SHOW TABLES LIKE 'TABLE'"
sqlite3 -line ${WDB} "SELECT name FROM sqlite_master WHERE type = 'table'"
| Shell |
#!/bin/sh
END=`date +%s`
START=`echo $END-3600 | bc` # over the hour
for i in `find /var/weather/ -name "*.rrd"`
do
rrdtool fetch /var/weather/${i}.rrd AVERAGE start $START end $END
done
| Shell |
#!/bin/sh
if [ "$1" == "" ]
then
echo "Please, enter name of .rrd file, no file extension!"
fi
END=`date +%s`
START=`echo $END-3600 | bc` # over the hour
rrdtool fetch /var/weather/$1.rrd AVERAGE start $START end $END
| Shell |
#!/bin/sh
# Send alarm sms you mobile phone from sms.ru
# Go http://sms.ru/?panel=support&subpanel=api , get you api-id
# and store to file `echo "<you api-id>" >/etc/wmr/api_id.sms.ru`
# Sample: echo "00000-0000-0000-000-000000" >/etc/wmr/api_id.sms.ru
#
# Store you phone numer to send sms in file /etc/wmr/phone.sms.... | Shell |
#!/bin/sh
# Create compile configuration for Weather TXT/SQL/RRD/SNMP Logger
DEPEND="usb hid sqlite3"
HPATH="/usr/local/lib/_include_ /usr/local/include /usr/include"
LPATH="/usr/local/lib/_compile_ /usr/local/lib /usr/lib"
echo ""
echo "Oregon Scientific WMR100/200/WMRS200/I300/I600/RMS600 USB protocol logger."
ech... | Shell |
#!/bin/sh
# Put from ftp to router
#
exit
SRV="192.168.220.100"
UN="root"
PW="den68"
DIR1="/usr/bin"
DIR2="/usr/lib/wmr"
DIR3="/weather"
ftp -d -n $SRV <<End-Of-Session
user $UN $PW
binary
cd $DIR1
put wmrd
chmod 777 wmrd
put ../shm shm
chmod 777 shm
mkdir $DIR2
cd $DIR2
put libwmr-alarm.so
put libwmr-file.so
put li... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
svn status
v="$1.$2.$3"
echo "About to release $v"
read -p "Are you sure you are ready: " N
[ "$N" != "YES" ] && exit
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/" CMakeLists.txt
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MINOR \"[0-9]+\"\)/SET(CPACK_PACKAGE... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
svn status
v="$1.$2.$3"
echo "About to release $v"
read -p "Are you sure you are ready: " N
[ "$N" != "YES" ] && exit
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/" CMakeLists.txt
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MINOR \"[0-9]+\"\)/SET(CPACK_PACKAGE... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
svn status
if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then
echo "Bad vertion"
exit 1
fi
v="$1.$2.$3"
echo "About to release $v"
read -p "Are you sure you are ready: " N
[ "$N" != "YES" ] && exit
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
svn status
if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then
echo "Bad vertion"
exit 1
fi
v="$1.$2.$3"
echo "About to release $v"
read -p "Are you sure you are ready: " N
[ "$N" != "YES" ] && exit
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
svn status
v="$1.$2.$3"
echo "About to release $v"
read -p "Are you sure you are ready: " N
[ "$N" != "YES" ] && exit
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/" CMakeLists.txt
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MINOR \"[0-9]+\"\)/SET(CPACK_PACKAGE... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
svn status
v="$1.$2.$3"
echo "About to release $v"
read -p "Are you sure you are ready: " N
[ "$N" != "YES" ] && exit
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/" CMakeLists.txt
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MINOR \"[0-9]+\"\)/SET(CPACK_PACKAGE... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
svn status
if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then
echo "Bad vertion"
exit 1
fi
v="$1.$2.$3"
echo "About to release $v"
read -p "Are you sure you are ready: " N
[ "$N" != "YES" ] && exit
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
svn status
if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then
echo "Bad vertion"
exit 1
fi
v="$1.$2.$3"
echo "About to release $v"
read -p "Are you sure you are ready: " N
[ "$N" != "YES" ] && exit
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
svn status
if [[ $1 == "" ]] || [[ $2 == "" ]] || [[ $3 == "" ]]; then
echo "Bad vertion"
exit 1
fi
v="$1.$2.$3"
echo "About to release $v"
read -p "Are you sure you are ready: " N
[ "$N" != "YES" ] && exit
sed -ri "s/SET\(CPACK_PACKAGE_VERSION_MAJOR \"[0-9]+\"\)/SET(CPACK_PACKAGE_VERSION_MAJOR \"$1\")/... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
#!/bin/bash
# This file is part of wkhtmltopdf.
#
# wkhtmltopdf is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wkhtmltopdf is dist... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.