diff --git a/jslib/build.sh b/jslib/build.sh index bd7b57c107a19fd5ccb9fad1cc14734d7cf7af28..335d84110687fd9f08b1e21458e913cc7f6d4130 100755 --- a/jslib/build.sh +++ b/jslib/build.sh @@ -13,7 +13,7 @@ do newFile="${file##*/}" newFile="tmp/${newFile//.js/}.min.js" echo "Processing $file -> $newFile" - python2 -m jsmin $file > $newFile + python -m jsmin $file > $newFile #cp $file $newFile else newFile="tmp/${file##*/}" diff --git a/server/scripts/collector.sh b/server/scripts/collector.sh index ded174e0ee03c8d6728886bd512c4c94098808c0..50bd14ddfd9d66e06cfe2a1a74e8bbf0450318cd 100755 --- a/server/scripts/collector.sh +++ b/server/scripts/collector.sh @@ -17,6 +17,6 @@ else export PYTHONPATH=$PYTHONPATH:$CURRENTDIR/../trackdirect cd $CURRENTDIR/.. - python2 ./bin/collector.py $CONFIGFILE $COLLECTORNUMBER + python $CURRENTDIR/../bin/collector.py $CONFIGFILE $COLLECTORNUMBER exit 0 fi diff --git a/server/scripts/remover.sh b/server/scripts/remover.sh index ae45b6e77395c6533b06bb5df2e6ded0c15731f5..ccb0cae108ffce298477e29787a43cc9b82ba732 100755 --- a/server/scripts/remover.sh +++ b/server/scripts/remover.sh @@ -16,6 +16,6 @@ else export PYTHONPATH=$PYTHONPATH:$CURRENTDIR/../trackdirect cd $CURRENTDIR/.. - python2 $CURRENTDIR/../bin/remover.py $CONFIGFILE + python $CURRENTDIR/../bin/remover.py $CONFIGFILE exit 0 fi diff --git a/server/scripts/stationremover.sh b/server/scripts/stationremover.sh index b1164723710b25a7e92dfeafe6c28e0f6a0da612..72be13e363e1517dbb68fc5663bdb9b7b14f1b17 100755 --- a/server/scripts/stationremover.sh +++ b/server/scripts/stationremover.sh @@ -17,6 +17,6 @@ else export PYTHONPATH=$PYTHONPATH:$CURRENTDIR/../trackdirect cd $CURRENTDIR/.. - python2 $CURRENTDIR/../bin/stationremover.py $CONFIGFILE $STATIONID + python $CURRENTDIR/../bin/stationremover.py $CONFIGFILE $STATIONID exit 0 fi diff --git a/server/scripts/wsserver.sh b/server/scripts/wsserver.sh index 2d357a64f5237a4ccd9b4aff79f33ef8f719d680..999d3e7936b254ea8e55f9544715d55f63d20bd7 100755 --- a/server/scripts/wsserver.sh +++ b/server/scripts/wsserver.sh @@ -15,6 +15,6 @@ else export PYTHONPATH=$PYTHONPATH:$CURRENTDIR/../trackdirect cd $CURRENTDIR/.. - python2 $CURRENTDIR/../bin/wsserver.py --config $CONFIGFILE + python $CURRENTDIR/../bin/wsserver.py --config $CONFIGFILE exit 0 fi