Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37568389
en ru br
ALT Linux repositórios
S:3.14-alt1

Group :: Som
RPM: zam-plugins

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: dpf-generate-ttl.sh.patch
Download


--- dpf/utils/generate-ttl.sh~	2018-04-12 01:29:29.000000000 +0300
+++ dpf/utils/generate-ttl.sh	2018-06-06 13:10:58.373626675 +0300
@@ -1,6 +1,4 @@
-#!/bin/bash
-
-set -e
+#!/bin/sh -e
 
 if [ -d bin ]; then
   cd bin
@@ -9,13 +7,13 @@
   exit
 fi
 
-PWD=`dirname $0`
+PWD="$(dirname $0)"
 
-if [ -f $PWD/lv2_ttl_generator.exe ]; then
-  GEN=$PWD/lv2_ttl_generator.exe
+if [ -f "$PWD/lv2_ttl_generator.exe" ]; then
+  GEN="$PWD/lv2_ttl_generator.exe"
   EXT=dll
 else
-  GEN=$PWD/lv2_ttl_generator
+  GEN="$PWD/lv2_ttl_generator"
   if [ -d /Library/Audio ]; then
     EXT=dylib
   else
@@ -23,11 +21,11 @@
   fi
 fi
 
-FOLDERS=`find . -type d -name \*.lv2`
+FOLDERS=$(find . -type d -name \*.lv2)
 
 for i in $FOLDERS; do
   cd $i
-  FILE=`ls *.$EXT | sort | head -n 1`
+  FILE=$(ls *.$EXT | sort | head -n 1)
   $GEN ./$FILE
   cd ..
 done
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009